This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from smartsheet import * | |
import pandas as pd | |
from credentials import smartsheet_token | |
smartsheet = smartsheet.Smartsheet(smartsheet_token) | |
def get_sheet_as_df(sheet_id): | |
ss1 = smartsheet.Sheets.get_sheet(sheet_id, page_size=0) | |
row_count = ss1.total_row_count | |
ss1 = smartsheet.Sheets.get_sheet(sheet_id, page_size=row_count) |