google-data-utils 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_data_utils-0.1.0/src/google_data_utils.egg-info → google_data_utils-0.1.1}/PKG-INFO +1 -1
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/pyproject.toml +1 -1
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils/public.py +10 -7
- {google_data_utils-0.1.0 → google_data_utils-0.1.1/src/google_data_utils.egg-info}/PKG-INFO +1 -1
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/LICENSE +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/README.md +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/setup.cfg +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils/__init__.py +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils/validators.py +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/SOURCES.txt +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/dependency_links.txt +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/requires.txt +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/top_level.txt +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/tests/test_drive.py +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/tests/test_sheet.py +0 -0
- {google_data_utils-0.1.0 → google_data_utils-0.1.1}/tests/test_validators.py +0 -0
|
@@ -27,12 +27,15 @@ def google_excel_to_df(url, **kwargs):
|
|
|
27
27
|
)
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
def google_sheet_to_df(
|
|
31
|
-
sheet_id = extract_sheet_id(url)
|
|
30
|
+
def google_sheet_to_df(sheet_url, **kwargs):
|
|
31
|
+
# sheet_id = extract_sheet_id(url)
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
# This only works for the first individual/worksheet
|
|
34
|
+
# csv_url = (
|
|
35
|
+
# f"https://docs.google.com/spreadsheets/d/"
|
|
36
|
+
# f"{sheet_id}/export?format=csv"
|
|
37
|
+
# )
|
|
38
|
+
|
|
39
|
+
modified_sheet_url = sheet_url.split("#")[0].replace("edit?", "export?format=csv&")
|
|
37
40
|
|
|
38
|
-
return pd.read_csv(
|
|
41
|
+
return pd.read_csv(modified_sheet_url, **kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/requires.txt
RENAMED
|
File without changes
|
{google_data_utils-0.1.0 → google_data_utils-0.1.1}/src/google_data_utils.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|