pygsheets icon indicating copy to clipboard operation
pygsheets copied to clipboard

Google Sheets Python API v4

Results 78 pygsheets issues
Sort by recently updated
recently updated
newest added

Its probably included, but can anyone give pointers on updating existing named ranges?

question

**Error when creating a spreadsheet in folder (either by id or name)** Have used this feature in the past, but now I can't get it to work. If I omit...

bug

Added query so can filter out opening spreadsheets that are trashed 'trashed=false', also added open to open via file id

See: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob I believe this is the auth method used by pygsheets, so this will need to be changed to continue working into the future.

enhancement

Issue: When calling functions such as Spreadsheet.worksheet_by_title(), which return a custom class (such as Worksheet, Spreadsheet), intellisense cannot provide autocomplete intelligently unless you utilize function chaining. Consider the below: `...

```diff # write pandas df to google sheets import pandas as pd import pygsheets as pgs c = pgs.authorize(...) s = c.open_by_key(spreadsheet_id) w = s.sheet1 df = pd.DataFrame({"id":[1,2,3],"val":["A","B","C"]}) print(df.columns) print(isinstance(df.columns,...

When using the set_dataframe to copy in a Pandas dataframe into Googlesheets one gets the standard Python error: ``` worksheet.py:1366: SettingWithCopyWarning: A value is trying to be set on a...

enhancement

Hello! How can I disable frequent refresh of the Token? Quite often, you have to renew the token for the errors “Token has been expired or revoked.”