Update page 'Day 1 homework'

j
2023-03-29 22:57:58 +02:00
parent ef8c1eff71
commit e8761eadc3
+1 -1
@@ -28,7 +28,7 @@ print(df)
6. We already know that the precision of floating-point numbers decreases as their magnitude increases. Using Pandas, create a dataframe representing a large amount of US Dollars. What is the smallest number of dollars where adding one cent begins to yield wrong results? 6. We already know that the precision of floating-point numbers decreases as their magnitude increases. Using Pandas, create a dataframe representing a large amount of US Dollars. What is the smallest number of dollars where adding one cent begins to yield wrong results?
7. Name three practical differences between Python strings and bytes. Using `sys.getsizeof`, see how the sizes may be different. Do emoji change this answer? 7. Name three practical differences between Python strings and bytes. Using `sys.getsizeof`, see how the sizes may be different. Do emoji change this answer?
8. Given this sample CSV file (tomato_sales.csv): 8. Given this sample CSV file (tomato_sales.csv):
``` ```CSV
Store,Region,Tomato_Sales Store,Region,Tomato_Sales
Store1,East,300 Store1,East,300
Store2,West,450 Store2,West,450