Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
22764636 opened this issue Oct 31, 2019 · 1 comment

Comments

@22764636
Copy link

    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.

@maybelinot
Copy link
Owner

Hi @22764636(Carmine), I don't actively support this lib at the moment, but if you're willing to contribute - PR is welcomed

22764636 added a commit to 22764636/df2gspread that referenced this issue Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants