python怎么让字符型表格中一列数据的小数点去掉。我用pandas.series.astype(dtype)把float变成了str 然后小数点去不掉
如果是str型的话,你可以使用replace来处理