我有一个保存字符串的 pandas 系列。但是,当我希望将该系列转换为字符串时,每个单元格仅限于多个字符。有谁知道我是否做错了什么或者是否有解决方法。
data = np.array(['good day good sir how are you doing today? I sure hope you are well', 'e', 'e', 'k','s']) ser = pd.Series(data) ser.to_string()
电流输出:
0 good day good sir how are you doing today? I s...\n1 e\n2 e\n3 k\n4 s'
想要的输出:
'0 good day good sir how are you doing today? I sure hope you are well\n1 e\n2 e\n3 k\n4 s'
有什么办法可以得到完整的字符串吗?
泛舟湖上清波郎朗
猛跑小猪
慕村225694