Daily Archives: June 20, 2014

Pandas : how to compare dataframe with None

While comparing a pandas dataframe with None, import pandas as pd df = pd.DataFrame() # Note that the dataframe is empty but it does not matter for this example. if df == None: pass # do nothing else: df.describe()import pandas … Continue reading

Posted in Python | Tagged | 3 Comments