Skip to content

Uploading empty DataFrame setting clean=True & col_names=True writes two rows with headers #47

@22764636

Description

@22764636
    d2g.upload(df,
               spreadsheet_key,
               wks_name,
               credentials=credentials,
               col_names=True,
               row_names=False,
               clean=True)

as per title, when uploading an empty DataFrame with clear=True, the sheet is correctly emptied but it still writes 2 rows of data corresponding to the DataFrame headers.

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