Apakah ada coumn kemudian hapus dalam datafrmae
if 'A' in df.columns:
del df['A']
Sachin
if 'A' in df.columns:
del df['A']
df = df.drop(['row_num','start_date','end_date','symbol'], axis=1, errors='ignore')