All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Load a CSV file named bread-basket.csv
using pd.read_csv()
.
Store the data in a variable named df_data
.
Your result would look something like this :
Use the tail()
method to display the last 10
rows of df_data
and store it in a variable namedlast_ten
.
Your result would look something like this :
df_data = pd.read_csv("bread-basket.csv")
df_data.head(5)