Skip to content

Remove the index 0 from --out files #12

Description

@Ian-Fogelman

Currently any file output with --out will have the 0 based index from a dataframe in the output file.

It would be better if this was not the default and instead only rows were returned.

Current behavior:

s3sql query ... --out "output.csv"
Data
0 A
1 B
2 C

New behavior:

s3sql query ... --out "output.csv"
Data
A
B
C

It would also be nice to automatically assign an ID column if the -- id flag was passed

s3sql query ... --out "output.csv" --id 
Id Data
1 A
2 B
3 C

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions