2. Data frame Functions and Properties
Very Easy assignments
Load the dataset and display.
Check the number of rows and columns in the dataset.
Check details for index numbers in the dataset.
Display all the columns of this dataset.
Check out the data type for each column.
Create a sample dataset of 10 rows from the existing dataset.
Display the statistical summary of the dataset.
Check out the information on all the columns of the dataset of retail data.
Display the top 5 rows of the dataset.
Display the top 12 rows of the dataset.
Display 5 rows from the bottom.
Display 8 bottom rows.
Easy Assignments
Check out the number of data and data-type of each column in the dataset.
Display the first few rows of the dataset.
Present the first 9 rows of the dataset.
Reveal the bottom rows of the dataset.
Display the last 25 liquor data of the dataset.
Show a detailed summary of the dataset, highlighting key metrics such as mean, median, standard deviation, minimum, maximum, and count for each numerical column, as well as unique counts for categorical variables.
Display the number of rows and columns in the dataset separately.
Generate a sample dataset containing 30 rows based on the current dataset.
Last updated