【发布时间】:2018-07-26 03:21:49
【问题描述】:
我有一个字符串,看起来像:
a1\tb1\tc1\na2\tb2\tc2\na3\tb3\tc3\n...
有没有一种高效而智能的方法将这种字符串转换为 Pandas DataFrame? StringIO 似乎不适合这种方法。
提前致谢!!
【问题讨论】:
-
"StringIO seems not to be correct for this approach."- 你为什么这么认为?
标签: python string pandas dataframe