Typically one of the first things we do upon importing a new dataset is to inspect its structure.
In this section, we cover inspecting the structure of a data frame. The section is organized as follows:
In Data Frame Summary we look at how to obtain an overall summary of the structure of a data frame including its dimensions, column names, and data types.
In Dimensions we cover how to get the number or rows and number of columns of a data frame.
In Column Names we cover how to get the names of the columns of a data frame.
In Data Types we cover how to get the data types of the columns of a data frame.
In Memory Use we cover how to get the memory consumption (i.e. the size in memory) of a data frame or a column of a data frame.