Unable to load table from dataframe with overlapping index/column name #1543
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
After this change in #1535, loading a dataframe where the index is also a column now fails:
Kind of a weird edge case but I think the same goal of that PR could have been accomplished without a breaking change. Perhaps the easiest would be to just reset_index() in a separate statement and catch the ValueError (since if you hit it then the reset_index() call wasn't needed)?
cc @tswast @chelsea-lin
The text was updated successfully, but these errors were encountered: