import pandas as pd
# Create a Dataframe from a CSV
df = pd.read_csv('example.csv')
# Drop rows with any empty cells
df.dropna(
axis=0,
how='any',
thresh=None,
subset=None,
inplace=True
)
df.dropna()
# Drop all rows that have an empty list in "example_column"
df[df['example_column'].map(lambda d: len(d)) > 0]