Python – Check out a dataframe using dtypes, describe and info functions

import pandas as pd

df = pd.read_csv('C:\Data\sample_data\california_housing_test.csv')

df

Data types

df.dtypes

Summary statistics of dataframe

df.describe()

Summary info of dataframe

df.info()