1import pandas as pd, numpy as np
2
3df = pd.DataFrame({'currency':['USD','','EUR','']})
4
5(df['currency'].values == '').sum() # 2
6
7len(df[df['currency'] == '']) # 2
8
9df.loc[df['currency'] == ''].count().iloc[0] # 2
10