Screen Link:
My Code:
unrate['DATE'] = pd.to_datetime(unrate['DATE'])
print(unrate['DATE'].head(12).shape)
print(unrate['DATE'].head(12))
Replace this line with your code
What I expected to happen:
Print 2 columns and 12 rows
What actually happened:
I downloaded the csv and ran it but it only printed 12 rows , Am I doing something wrong?
Replace this line with the output/error
Please make sure to include the link to the Mission/Mission Step so that others can help you out accordingly.
Hello @chautran0729,
Yes.
With unrate['DATE'].head(12)
, you are choosing to display only 12
rows of DATE
column.
Try to print all of the unrate's first 12 rows
with
print(unrate.head(12))
Now, you can see what columns to select.
For faster help, please share the screen link with your post.