Run
import pandas as pd #initialize a dataframe df = pd.DataFrame() isempty = df.empty print('Is the DataFrame empty :', isempty)
Output