LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Python for MATLAB Users

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Print the first five rows of avocados
print(avocados.____())
Code bearbeiten und ausführen