Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Python for MATLAB Users

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Print the first five rows of avocados
print(avocados.____())
Code bewerken en uitvoeren