📌  相关文章
📜  pandas 将 tsv 转换为数据框 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.106000             🧑  作者: Mango

代码示例2
>>> df1 = DataFrame(csv.reader(open('c:/~/trainSetRel3.txt'), delimiter='\t'))

Traceback (most recent call last):
  File "", line 1, in 
    df1 = DataFrame(csv.reader(open('c:/~/trainSetRel3.txt'), delimiter='\t'))
  File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 318, in __init__
    raise PandasError('DataFrame constructor not properly called!')
PandasError: DataFrame constructor not properly called!