Pandas in the read_csv() in type error shown as:
TypeError Traceback (most recent call last)
Cell In[30], line 1
----> 1 pd.read_csv('Datasets/BX-Books.csv', sep=';',encoding='latin-1',error_bad_lines=False)
TypeError: read_csv() got an unexpected keyword argument 'error_bad_lines'
I have trying to run code is usaally in error_bad_lines parameter and run the code:
pd.read_csv('Datasets/BX-Books.csv', sep=';',encoding='latin-1',error_bad_lines=False)
but pandas old version is running and work but why do not work it and through error:
TypeError Traceback (most recent call last)
Cell In[30], line 1
----> 1 pd.read_csv('Datasets/BX-Books.csv', sep=';',encoding='latin-1',error_bad_lines=False)
TypeError: read_csv() got an unexpected keyword argument 'error_bad_lines'