Skip to content

Python Snippets cannot export DataFrame to csv with line_terminator keyword #18

@marcbickle

Description

@marcbickle

I am developing new python snippets for visualising and analysing images. The snippets fail because the conversion of the returned dataframes to csv returns an error due to the keyword line_terminator which has changed to lineterminator in pandas 1.5.0.

TypeError: to_csv() got an unexpected keyword argument 'line_terminator'

My versions are
KNIME 5.9.0
Python 3.9.19
Pandas 2.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions