same .tsv file, get different data-frame structure using engine 'python' and 'c' · Issue #26545 · pandas-dev/pandas (original) (raw)
In my Mac, I have a Tab-Separated values file with encoding UTF-8, and the version of pandas is
0.24.2.
74872_zh_CN_UI.txt
when I use read_csv function with engine 'python' like this:b = pd.read_csv("/Users/GHIBLI/Documents/vmware-L10n/bert/zh_CN/74872_zh_CN_UI.tsv", engine="python", delimiter="\t")
print(b.shape)
I got (8, 1)
if with default engine:b = pd.read_csv("/Users/GHIBLI/Documents/vmware-L10n/bert/zh_CN/74872_zh_CN_UI.tsv", delimiter="\t")
print(b.shape)
I got (8,22)
In contrast to 'C' engine, this 'python' engine seems that is not as simple as just 'feature-complete' I think.