- The head of the dataframe can be printed using the dataframe.head() function which produces an output, as shown in the following screenshot:
- Similarly, the tail of the dataframe can be printed using the dataframe.tail() function, which produces an output, as shown in the following screenshot:
- The dataframe.describe() function is used to obtain some basic statistics such as the maximum, minimum, and mean values under each column. This is illustrated in the following screenshot:
dataframe.describe() function output