Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-bigquery-dataframes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0
Choose a base ref
...
head repository: googleapis/python-bigquery-dataframes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.0
Choose a head ref
  • 20 commits
  • 73 files changed
  • 8 contributors

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    b02c401 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    cb36e46 View commit details
    Browse the repository at this point in the history
  2. feat: to_datetime supports utc=False for string inputs (#579)

    * feat: to_datetime supports utc=False for string inputs
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * add unit tests for timestamp inputs
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * simplify conversion ops
    
    * address comments
    
    * fix failed presubmit test
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Trevor Bergeron <[email protected]>
    3 people authored May 14, 2024
    Configuration menu
    Copy the full SHA
    adf9889 View commit details
    Browse the repository at this point in the history
  3. fix: the imported samples error and use peek() (#688)

    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> 🦕
    ashleyxuu authored May 14, 2024
    Configuration menu
    Copy the full SHA
    1a0b744 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    96243f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da9b136 View commit details
    Browse the repository at this point in the history
  3. chore: type check with mypy --check-untyped-defs option (#693)

    * chore: type check with mypy `--check-untyped-defs` option
    
    * add TODOs for tests/system/small/ml/test_metrics.py
    
    * add TODOs for tests/system/large/ml/test_cluster.py
    
    * add TODOs for tests/system/large/ml/test_decomposition.py
    
    * more TODOs
    
    * test_dataframe TODOs
    
    * tests/system/small/test_encryption.py TODOs
    
    * test_index TODOs
    
    * TODO test_index, test_multiindex
    
    * tests/system/small/test_pandas.py TODOs
    
    * test_series TODOs
    
    * more TODOs
    
    * tests/system/large/ml/test_ensemble.py TODOs
    
    * more TODOs
    
    * more TODOs
    
    * add final TODOs
    
    * add bug number
    tswast authored May 15, 2024
    Configuration menu
    Copy the full SHA
    9fee857 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. test: stop checking ml large tests exact numbers (#690)

    * test: stop checking ml large tests exact numbers
    
    * clean up
    GarrettWu authored May 16, 2024
    Configuration menu
    Copy the full SHA
    a58dcd2 View commit details
    Browse the repository at this point in the history
  2. docs: use class_weight="balanced" in the logistic regression predic…

    …tion tutorial (#678)
    
    This aligns the Python code with the SQL at https://cloud.google.com/bigquery/docs/logistic-regression-prediction#create_a_logistic_regression_model
    
    ```sql
    CREATE OR REPLACE MODEL
      `census.census_model`
    OPTIONS
      ( model_type='LOGISTIC_REG',
        auto_class_weights=TRUE,
        data_split_method='NO_SPLIT',
        input_label_cols=['income_bracket'],
        max_iterations=15) AS
    SELECT * EXCEPT(dataframe)
    FROM
      `census.input_data`
    WHERE
      dataframe = 'training'
    ```
    tswast authored May 16, 2024
    Configuration menu
    Copy the full SHA
    b951549 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9cc1ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab1bc04 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    412f28b View commit details
    Browse the repository at this point in the history
  6. fix: read_gbq_table respects primary keys even when filters are s…

    …et (#689)
    
    * fix: `read_gbq_table` respects primary keys even when `filters` are set
    
    Closes internal issues 338039517 (primary key inconsistency), 338037499
    (LIMIT for max_results), 340540991 (avoid running query immediately if
    time travel is supported), 337925142 (push down column filters to when
    we create the time travel subquery).
    
    feat: `read_gbq` suggests a correct column name when one is not found
    feat: `read_gbq_query` supports `filters`
    perf: use a `LIMIT` clause when `max_results` is set
    perf: don't run query immediately from `read_gbq_table` if `filters` is set
    tswast authored May 16, 2024
    Configuration menu
    Copy the full SHA
    9386373 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    ca284cc View commit details
    Browse the repository at this point in the history
  2. fix: properly identify non-unique index in tables without primary keys (

    #699)
    
    * fix: Properly identify non-unique index in non-pk tables
    
    * fix previously unused code
    
    * fix unit tests
    
    * fix one more unit test
    
    * fix index uniqueness under no index
    
    * add unit test
    TrevorBergeron authored May 17, 2024
    Configuration menu
    Copy the full SHA
    6e0f4d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14d81c1 View commit details
    Browse the repository at this point in the history
  4. chore: type error in test_ensemble (#700)

    * fix: ignore type error in plotting
    ashleyxuu authored May 17, 2024
    Configuration menu
    Copy the full SHA
    ac1a188 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. chore: type errors in bigframes.ml tests (#702)

    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 #340890167, 340891711, 340876028🦕
    ashleyxuu authored May 20, 2024
    Configuration menu
    Copy the full SHA
    66d6979 View commit details
    Browse the repository at this point in the history
  2. feat: add DefaultIndexKind.NULL to use as index_col in `read_gbq*…

    …`, creating an indexless DataFrame/Series (#662)
    
    * feat: Support indexless dataframe/series
    
    * fixes for kurt, skew, median
    
    * fix unit tests
    
    * fix more issues
    
    * fix defaulting to primary key logic
    
    * fix tests
    
    * many small changes
    
    * fix accidental null indexes and raising warning
    
    * fix df quantile index
    
    * disable legacy pandas for some tests, add concat test
    
    * fix series repr
    
    * Update bigframes/session/__init__.py
    
    Co-authored-by: Tim Sweña (Swast) <[email protected]>
    
    * Update bigframes/core/rewrite.py
    
    Co-authored-by: Tim Sweña (Swast) <[email protected]>
    
    * Update bigframes/core/rewrite.py
    
    Co-authored-by: Tim Sweña (Swast) <[email protected]>
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * pr comments addressed
    
    ---------
    
    Co-authored-by: Tim Sweña (Swast) <[email protected]>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    3 people authored May 20, 2024
    Configuration menu
    Copy the full SHA
    29e4886 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. chore(main): release 1.7.0 (#685)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored May 21, 2024
    Configuration menu
    Copy the full SHA
    f89b6be View commit details
    Browse the repository at this point in the history
Loading