pandas object column with string and numerical duplicates

前端 未结 0 1501
情话喂你
情话喂你 2020-12-02 20:38

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[         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题