define empty pandas code example
Example 1: create empty pandas dataframe
df = pd.DataFrame(columns=['a', 'b', 'c'])
Example 2: df empty python
if df.empty:
print('Your df is empty...')
df = pd.DataFrame(columns=['a', 'b', 'c'])
if df.empty:
print('Your df is empty...')