python check if a variable is an pandaDataframe

61

python check if a variable is an pandaDataframe -

import pandas as pd
.....
.....
ifDataframe = isinstance(var, pd.DataFrame)

Comments

Submit
0 Comments