NDFrame.to_csv() got an unexpected keyword argument 'line_terminator'

Getting this error while running the workflow.

12_train_modelling_python.knwf