nithinmurali / pygsheets

Google Sheets Python API v4
https://pygsheets.readthedocs.io/en/latest
Other
1.51k stars 220 forks source link

set_dataframe() to include index name #514

Closed jaceiverson closed 2 years ago

jaceiverson commented 2 years ago

For the set_dataframe() method. When called now it will include the index name(s) to header when copy_header & copy_index are selected. It will replace all '' in head or heads list with the values in the index_column_names list. Tested with all variations of single and multi indexes.

nithinmurali commented 2 years ago

Thanks for the PR!