Converting xlsx to Google Sheets in Jupyter
Converting xlsx to Google Sheets in Jupyter Question: I’m trying to open a xlsx file from Google Drive as a Google Sheets file in Jupyter. from googleapiclient.discovery import build from google.oauth2 import service_account SERVICE_ACCOUNT_FILE = ‘gs_credentials.json’ SCOPES = [‘https://www.googleapis.com/auth/spreadsheets’] creds = None creds = service_account.Credentials.from_service_account_file( SERVICE_ACCOUNT_FILE, scopes=SCOPES) SAMPLE_SPREADSHEET_ID = ‘someidhere’ RANGE = ‘somerangehere’ service = …