Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试读取 pandas 中的文件,其中经度列的格式如下 - 10559E53(105 度 59 分东 53 秒)。当我打印此数据框时,python 将其转换为指数,例如 1.0559e+57。我怎样才能停止这种转换?
dtype参数 toread_csv应该很有用。可能类似于dtype={'longitude': str}(未测试)。
dtype
read_csv
dtype={'longitude': str}