Explore a pandas DataFrame
The pandas
DataFrame is one of the most important (and most convenient) data structures in Python and especially in Data Science. Not only is the DataFrame structure itself in a familiar tabular format, the pandas
package has several ways that allow quick DataFrame exploration. In this exercise, you'll use a (very) small set of the available methods and attributes in pandas
to explore the avocados
DataFrame.
Cet exercice fait partie du cours
Python for MATLAB Users
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Print the first five rows of avocados
print(avocados.____())