will drop column in python pandas reflects on the actual database file? code example
Example 1: drop columns pandas
df.drop(columns=['B', 'C'])
Example 2: drop a column in pandas
df = df.drop(df.columns[[0, 1, 3]], axis=1) # df.columns is zero-based pd.Index