Follow me
-
Recent Posts
calendar
Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
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