-
Notifications
You must be signed in to change notification settings - Fork 47
Comparing changes
Open a pull request
base repository: googleapis/python-bigquery-dataframes
base: v0.19.2
head repository: googleapis/python-bigquery-dataframes
compare: v0.20.0
- 15 commits
- 48 files changed
- 7 contributors
Commits on Jan 23, 2024
-
feat: update cut to work without labels = False and show intervals as…
… dict (#335) * test ver. * add test and adjustment * update test and docstring. * remove unused import. * update code examples. * COde formatted. * Update error and unittest. * Update labels selections.
Configuration menu - View commit details
-
Copy full SHA for 4ff53db - Browse repository at this point
Copy the full SHA 4ff53dbView commit details -
fix: Series iteration correctly returns values instead of index (#339)
* fix: Series iteration correctly returns values instead of index * Update iter docstring
Configuration menu - View commit details
-
Copy full SHA for 2c6af9b - Browse repository at this point
Copy the full SHA 2c6af9bView commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75dc9e6 - Browse repository at this point
Copy the full SHA 75dc9e6View commit details -
chore: Script to inspect and clean up stale GCFs (#331)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes internal issue 319307783 🦕 ### Usage: ```bash $ python scripts/manage_cloud_functions.py --help usage: manage_cloud_functions.py [-h] -p PROJECT_ID [-r REGIONS] {summary,cleanup} ... Manage cloud functions created to serve bigframes remote functions. options: -h, --help show this help message and exit -p PROJECT_ID, --project-id PROJECT_ID GCP project-id. -r REGIONS, --regions REGIONS Cloud functions region(s). If multiple regions, Specify comma separated (e.g. region1,region2) subcommands: {summary,cleanup} summary BigFrames cloud functions summary. cleanup BigFrames cloud functions clean up. $ python scripts/manage_cloud_functions.py summary --help usage: manage_cloud_functions.py summary [-h] Show the bigframes cloud functions summary. options: -h, --help show this help message and exit $ python scripts/manage_cloud_functions.py cleanup --help usage: manage_cloud_functions.py cleanup [-h] [-n NUMBER] Delete the stale bigframes cloud functions. options: -h, --help show this help message and exit -n NUMBER, --number NUMBER Number of stale (more than a day old) cloud functions to clean up. (venv) shobs@shobs-ct-3:~/code/bigframes1$ ``` ### Example: ```bash $ python scripts/manage_cloud_functions.py -p bigframes-dev summary us-central1: Total=1412, Recent=86, OlderThanADay=1326 europe-west4: Total=270, Recent=24, OlderThanADay=246 southamerica-west1: Total=269, Recent=23, OlderThanADay=246 europe-west1: Total=262, Recent=23, OlderThanADay=239 asia-southeast1: Total=260, Recent=18, OlderThanADay=242 us-east1: Total=1, Recent=0, OlderThanADay=1 $ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 summary us-central1: Total=1412, Recent=85, OlderThanADay=1327 europe-west4: Total=270, Recent=24, OlderThanADay=246 $ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 cleanup -n 2 [us-central1]: deleted [1] projects/bigframes-dev/locations/us-central1/functions/bigframes-597cc02ef5ce0525e4f51697b5a83b6c-3pfpu6gu last updated on 2024-01-08 21:47:58.503628+00:00 [us-central1]: deleted [2] projects/bigframes-dev/locations/us-central1/functions/bigframes-68f796a13666bb3bfe354dd1adaeef71 last updated on 2024-01-09 21:52:49.620259+00:00 [europe-west4]: deleted [1] projects/bigframes-dev/locations/europe-west4/functions/bigframes-558d0ca6649537a9e45896faf08b0a7a last updated on 2024-01-12 21:15:04.379198+00:00 [europe-west4]: deleted [2] projects/bigframes-dev/locations/europe-west4/functions/bigframes-4b7705561ec336ed80722a8e6e56ac41 last updated on 2024-01-08 05:34:59.331828+00:00 $ python scripts/manage_cloud_functions.py -p bigframes-dev -r us-central1,europe-west4 summary us-central1: Total=1410, Recent=85, OlderThanADay=1325 europe-west4: Total=269, Recent=25, OlderThanADay=244 ```
Configuration menu - View commit details
-
Copy full SHA for 47c3285 - Browse repository at this point
Copy the full SHA 47c3285View commit details -
feat: add ARIMA_EVAULATE options in forecasting models (#336)
* feat: add ARIMA_EVAULATE options in forecasting models * feat: add summary method * fix minor errors * fix failed tests * address comments
Configuration menu - View commit details
-
Copy full SHA for 73e997b - Browse repository at this point
Copy the full SHA 73e997bView commit details
Commits on Jan 25, 2024
-
refactor: add output type annotations to scalar ops (#338)
* refactor: add output type annotations to scalar ops * use same expression type annotation everywhere * pr comments
Configuration menu - View commit details
-
Copy full SHA for d88c562 - Browse repository at this point
Copy the full SHA d88c562View commit details -
feat: add
DataFrame.peek()
as an efficient alternative tohead()
……results preview (#318) * feat: add efficient peek dataframe preview * add force parameter to peek to cache full dataframe * add df.peek docstring * set peek to default force=False * update peek docstring and error type --------- Co-authored-by: Tim Swast <swast@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9c34d83 - Browse repository at this point
Copy the full SHA 9c34d83View commit details
Commits on Jan 26, 2024
-
feat: Improve error message for drive based BQ table reads (#344)
* feat: Improve error message for drive based BQ table reads * move exception handling deeper to apply to read_gbq* * add unit tests
Configuration menu - View commit details
-
Copy full SHA for 0794788 - Browse repository at this point
Copy the full SHA 0794788View commit details -
fix: chance default connection name in getting_started.ipnyb (#347)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [X ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [X ] Ensure the tests and linter pass - [ X] Code coverage does not decrease (if any source code was changed) - [X ] Appropriate docs were updated (if necessary) Fixes #346 The existing notebook references an incorrect default connection name. This PR corrects that so that users can more easily cleanup after they use the [getting started notebook](https://togithub.com/googleapis/python-bigquery-dataframes/blob/main/notebooks/getting_started/getting_started_bq_dataframes.ipynb)
Configuration menu - View commit details
-
Copy full SHA for 677f014 - Browse repository at this point
Copy the full SHA 677f014View commit details -
feat: Add Index constructor, repr, copy, get_level_values, to_series (#…
…334) * feat: Add Index constructor, copy, get_level_values, to_series fix mypy error * fix constructor bug * fix error with index name mutation * refactor index to make mutation clearer * fix index bugs * give index custom repr --------- Co-authored-by: Huan Chen <142538604+Genesis929@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e5d054e - Browse repository at this point
Copy the full SHA e5d054eView commit details
Commits on Jan 29, 2024
-
refactor: Split aggregate ops from implementation (#354)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
Configuration menu - View commit details
-
Copy full SHA for 99ed6c3 - Browse repository at this point
Copy the full SHA 99ed6c3View commit details -
chore: pin pytest version (#358)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
Configuration menu - View commit details
-
Copy full SHA for 6795ed2 - Browse repository at this point
Copy the full SHA 6795ed2View commit details
Commits on Jan 30, 2024
-
chore: ensure colab sample notebooks are tested (#351)
* chore: ensure colab sample notebooks are tested * make restore from backup robust to when the backup doesn't exist * fix path to notebook params scripts * exclude notebooks that need parameters other than project_id * add missing dependencies * notebook testing fixes * add sleep to avoid some bucket flakiness * Revert "add sleep to avoid some bucket flakiness" This reverts commit dfee838. * exclude bq_dataframes_llm_code_generation sample
Configuration menu - View commit details
-
Copy full SHA for 5aad3a1 - Browse repository at this point
Copy the full SHA 5aad3a1View commit details -
docs: add code samples for
Series.{between, cumprod}
(#353)Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] `Series.between()`: https://screenshot.googleplex.com/BhHpZsL7S9d3FsG - [x] `Series.cumprod()`: https://screenshot.googleplex.com/7o7gDNwJZEWst84 Fixes #<issue_number_goes_here> 🦕
Configuration menu - View commit details
-
Copy full SHA for 09a52fd - Browse repository at this point
Copy the full SHA 09a52fdView commit details -
chore(main): release 0.20.0 (#342)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 18efb83 - Browse repository at this point
Copy the full SHA 18efb83View commit details
There are no files selected for viewing