Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check if a variable is an pandaDataframe

import pandas as pd
.....
.....
ifDataframe = isinstance(var, pd.DataFrame)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #check #variable #pandaDataframe
ADD COMMENT
Topic
Name
5+4 =