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.5.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.6.0
Choose a head ref
  • 17 commits
  • 89 files changed
  • 9 contributors

Commits on May 7, 2024

  1. refactor: ml model load read from class type hints (#656)

    * refactor: ml model load read from class type hints
    
    * exclude unrelated files
    
    * fix NoneType
    
    * fix tests
    
    * fix tests
    
    * fix param mappings
    
    * fix tests
    GarrettWu authored May 7, 2024
    Copy the full SHA
    5a7b1c9 View commit details
  2. feat: add strategy="quantile" in KBinsDiscretizer (#654)

    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 #310685445 🦕
    ashleyxuu authored May 7, 2024
    Copy the full SHA
    c6c487f View commit details

Commits on May 8, 2024

  1. docs: address lint errors in code samples (#665)

    Towards internal issue 332735129
    
    test: move samples tests to their own kokoro jobs
    tswast authored May 8, 2024
    Copy the full SHA
    4fc8964 View commit details
  2. chore: remove outdated NoDefaultIndexError info from CHANGELOG.md (#…

    …668)
    
    * chore: remove outdated `NoDefaultIndexError` info from CHANGELOG.md
    
    We don't actually raise an error, just a `DefaultIndexWarning ` warning.
    
    * remove redundant line
    tswast authored May 8, 2024
    Copy the full SHA
    bcc054b View commit details
  3. fix: include index_col when selecting columns and filters in `r…

    …ead_gbq_table` (#648)
    
    * fix: include `index_col` when selecting `columns` and `filters` in `read_gbq_table`
    
    Fixes internal issue 339430305
    
    * 
    
    feat: warn with a more specific `DefaultLocationWarning` category when no location can be detected (#648)
    test: refactor `read_gbq` / `read_gbq_table` tests to test with all parameters combined (#648)
    refactor: move query generation code to BigQuery I/O module (#648)
    tswast authored May 8, 2024
    Copy the full SHA
    e084e54 View commit details
  4. docs: document inlining of small data in read_* APIs (#670)

    * docs: document inlining of small data in `read_*` APIs
    
    * mention that threshold is in memory size
    
    * non-bigquery instead of non-"bigquery"
    shobsi authored May 8, 2024
    Copy the full SHA
    306953a View commit details

Commits on May 9, 2024

  1. feat: suggest correct options in bpd.options.bigquery.location (#666)

    * feat: suggest correct options in bpd.options.bigquery.location
    
    deps: add jellyfish as a dependency for spelling correction
    DevStephanie authored May 9, 2024
    Copy the full SHA
    57ccabc View commit details
  2. docs: add code snippets for llm text generatiion (#669)

    * docs: add code snippets for llm text generatiion
    ashleyxuu authored May 9, 2024
    Copy the full SHA
    93416ed View commit details

Commits on May 10, 2024

  1. feat: add Series.case_when() (#673)

    * feat: add `Series.case_when()`
    
    * rename to ScalarOp
    * rename to exprs
    * add type annotations
    
    feat: add `DataFrame.__delitem__` (#673)
    docs: add logistic regression samples (#673)
    tswast authored May 10, 2024
    Copy the full SHA
    2218c21 View commit details
  2. Copy the full SHA
    f2ed29c View commit details
  3. feat: Support axis=1 in df.apply for scalar outputs (#629)

    * feat: Support `axis=1` in `df.apply` for scalar outputs
    
    * avoid mixing other changes in the input_types param
    
    * use guid instead of hard coded column name
    
    * check_exact=False to avoid failing system_prerelease
    
    * handle index in remote function, add large system tests
    
    * make the test case more robust
    
    * handle non-string column names, add unsupported dtype tests
    
    * fix import
    
    * use `_cached` in df.apply to catch any rf execution errors early
    
    * add test for row aggregates
    
    * add row dtype information, also test
    
    * preserve the order of input in the output
    
    * absorb to_numpy() disparity in prerelease tests
    
    * add tests for column multiindex and non remote function
    
    * add preview note for row processing
    
    * add warning for input_types="row" and axis=1
    
    * introduce early check on the supported dtypes
    
    * asjust test after early dtype handling
    
    * address review comments
    
    * user NameError for column name parsing issue, address test coverage failure
    
    * address nan return handling in the gcf code
    
    * handle (nan, inf, -inf)
    
    * replace "row" by bpd.Series for input types
    
    * make the bq parity assert more readable
    
    * fix the series name before assert
    
    * fix docstring for args
    
    * move more low level string logic in sql module
    
    * raise explicit error when a column name cannot be supported
    
    * keep literal_eval check on the serialization side to match
    deserialization
    shobsi authored May 10, 2024
    Copy the full SHA
    f6bdc4a View commit details
  4. chore: log and labels update (#674)

    * chore: log and labels update
    
    * remove unused logic
    
    * Update unit test.
    
    * fixes for mypy
    
    * lint update
    Genesis929 authored May 10, 2024
    Copy the full SHA
    21bd3e4 View commit details
  5. Copy the full SHA
    9ca92d0 View commit details

Commits on May 11, 2024

  1. Copy the full SHA
    2fd1b81 View commit details

Commits on May 13, 2024

  1. feat: Series.str.split (#675)

    * feat: Series.str.split
    
    * add more tests
    
    * format fix
    chelsea-lin authored May 13, 2024
    Copy the full SHA
    6eb19a7 View commit details
  2. chore: add logger support for properties. (#683)

    * chore: add logger support for properties.
    
    * update function
    
    * update label format
    Genesis929 authored May 13, 2024
    Copy the full SHA
    c7e0ead View commit details
  3. chore(main): release 1.6.0 (#667)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: Huan Chen <142538604+Genesis929@users.noreply.github.com>
    release-please[bot] and Genesis929 authored May 13, 2024
    Copy the full SHA
    0b8b827 View commit details
Loading