when my function f is called with a variable I want to check if var is a pandas dataframe:
def f(var): if var == pd.DataFrame(): print "do stuff"
I guess the solution might be quite simple but even with
def f(var): if var.values != None: print "do stuff"
I can't get it to work like expected.