Lecture 7 Working With Pandas (1)
Lecture 7 Working With Pandas (1)
shape() Returns the number of records and dimensions in a data set df. shape()
head() Displays the top five rows in a dataset df.head()
tail() Displays the last five rows in a dataset df.tail()
columns Displays the column names in a dataframe df.columns
info() Displays general information about a dataframe including data types , df.info()
number of records , number of columns with respect to data type etc.
describe() shows MCT and Dispersion statistics regarding numeric attributes df.describe()
dtypes Show the data types of each column df.dtypes
columns Shows the column names of the DataFrame df.columns
Isnull().sum() Shows the null values in each column df.isnull().sum()