TopicNet icon indicating copy to clipboard operation
TopicNet copied to clipboard

New Pandas can't work with old Dataset

Open Alvant opened this issue 1 year ago • 0 comments

Old: error_bad_lines param:

if file_type == '.csv':
    data = data_handle.read_csv(
    data_path,
    engine='python',
    error_bad_lines=False,
)

https://github.com/machine-intelligence-laboratory/TopicNet/blob/master/topicnet/cooking_machine/dataset.py#L357

New: on_bad_lines param

https://stackoverflow.com/questions/72210768/read-csv-got-an-unexpected-keyword-argument-on-bad-lines

Alvant avatar Mar 03 '24 17:03 Alvant