microsoft / times-excel-reader

MIT License
6 stars 3 forks source link

Upgrade pandas and fix deprecation warning #10

Closed siddharth-krishna closed 2 years ago

siddharth-krishna commented 2 years ago

This PR fixes this warning:

times_excel_reader.py:1200: FutureWarning: the 'line_terminator'' keyword is deprecated, use 'lineterminator' instead.
  text_file.write(df.to_csv(index=False, line_terminator="\n"))

PSA: you might need to upgrade your local pandas version. E.g., run

pip install -r requirements.txt