Traceback (most recent call last):
File "C:\Users\Dell\Desktop\km.py", line 15, in
data=pd.read_txt(inputfile,index_col='ld')
File "C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas_init_.py", line 258, in getattr
raise AttributeError(f"module 'pandas' has no attribute '{name}'")
AttributeError: module 'pandas' has no attribute 'read_txt'
read_csv
可以用read_table(分隔符)