Skip to content

Write to CSV without saving the column index #284

Description

@olekscode

(from this comment: #215 (comment))

we need to add a method that allows to save a DataFrame as a CSV file without the id.
Currently, the only method available is DataFrame>>#writeToCsv: but automatically adds an
empty column at the beginning with the internal id that was calculating.
We should be able to save without that id

We can create a new method called writeToCsv:withRowNames:
Then method writeToCsv: shoud call it with the default parameter true

writeToCsv: aFileReference
    self writeToCsv: aFileReference withRowNames: true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions