使用numpy.dtype或Python类型将整个pandas对象转换为同一类型。或者,使用{col ... dtypes col1 int64 col2 int64 dtype: object. 将所有的柱子都转为int32。 >>> df ...
確定! 回上一頁