Change the type of column A to float, and type of column B to integer: In [4]: df['A'].astype('float') Out[4]: 0 1.0 1 2.0 2 3.0 Name: A, dtype: float64 In ...
確定! 回上一頁