Open driskerr opened 6 years ago
https://github.com/jewgeney/intro-data-capstone-musclehub/blob/163399689a37b3ba7ecfc7b955f8ea20bfe90f0d/MuscleHub%20capstone%20project/musclehub.py#L156
Smart idea printing the data frame to make sure you transformed it correctly. Another helpful hint to look at the first few rows of the dataframe is to use the .head() function. You can print just the first 5 rows of the dataframe with df.head()
.head()
df.head()
https://github.com/jewgeney/intro-data-capstone-musclehub/blob/163399689a37b3ba7ecfc7b955f8ea20bfe90f0d/MuscleHub%20capstone%20project/musclehub.py#L156
Smart idea printing the data frame to make sure you transformed it correctly. Another helpful hint to look at the first few rows of the dataframe is to use the
.head()
function. You can print just the first 5 rows of the dataframe withdf.head()