I have
import pandas as pd import numpy as np a = pd.DataFrame({\'A\':[\'1\', \'0\', \'1.0\', \'0.0\', 1.0, 0.0, \'not_ind\', np.nan]}).astype(\'O\') print(a[