sparkbyexamples.com
Pandas - Check If a Column Exists in DataFrame
How to check if a single column or multiple columns exists in Pandas DataFrame? You can use Dataframe.columns attribute that returns the column labels as
Malli