rhoa.data
Functions
|
Imports a Google Sheet into a pandas DataFrame. |
- import_sheet(sheet_url)[source]
Imports a Google Sheet into a pandas DataFrame.
This function takes a URL to a Google Sheet, processes it, and retrieves the data as a pandas DataFrame. It assumes that the sheet is publicly accessible or has the necessary sharing permissions enabled to access its content as a CSV file.
- Parameters:
sheet_url (str) – The URL of the Google Sheet to import.
- Returns:
The data contained in the sheet represented as a pandas DataFrame.
- Return type:
pd.DataFrame