Skip to content

[BEAM-12593] Verify DataFrame API on pandas 1.3.0#15165

Merged
pabloem merged 4 commits intoapache:masterfrom
rohdesamuel:dataframe-1.3.0rc1
Aug 12, 2021
Merged

[BEAM-12593] Verify DataFrame API on pandas 1.3.0#15165
pabloem merged 4 commits intoapache:masterfrom
rohdesamuel:dataframe-1.3.0rc1

Conversation

@rohdesamuel
Copy link
Copy Markdown
Contributor

@rohdesamuel rohdesamuel commented Jul 13, 2021

  • Fills correct partitioning for fillna
  • Add version number to lib
  • Condition on incompatible version features
  • Due to BEAM-12495 value_counts with dropna=False does not work on
    frames
  • Added NotImplementedError when detecting BEAM-12495

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

@robertwb

@rohdesamuel rohdesamuel marked this pull request as ready for review July 13, 2021 17:58
@rohdesamuel
Copy link
Copy Markdown
Contributor Author

@aaltay

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

This is a continuation from #15008

Comment thread sdks/python/apache_beam/dataframe/pandas_doctests_test.py Outdated
Comment thread sdks/python/apache_beam/dataframe/pandas_doctests_test.py Outdated
Comment thread sdks/python/apache_beam/dataframe/pandas_doctests_test.py Outdated
Comment thread sdks/python/apache_beam/dataframe/frames.py Outdated
Comment thread sdks/python/apache_beam/dataframe/frames.py Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 16, 2021

Codecov Report

Merging #15165 (2ebdf65) into master (7b54b0b) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15165      +/-   ##
==========================================
+ Coverage   83.86%   83.89%   +0.03%     
==========================================
  Files         441      441              
  Lines       59724    60472     +748     
==========================================
+ Hits        50086    50735     +649     
- Misses       9638     9737      +99     
Impacted Files Coverage Δ
sdks/python/apache_beam/dataframe/frames.py 94.93% <100.00%> (+0.06%) ⬆️
sdks/python/apache_beam/utils/interactive_utils.py 87.80% <0.00%> (-7.32%) ⬇️
...hon/apache_beam/runners/direct/test_stream_impl.py 94.02% <0.00%> (-2.24%) ⬇️
sdks/python/apache_beam/io/source_test_utils.py 88.47% <0.00%> (-1.39%) ⬇️
...pache_beam/runners/interactive/interactive_beam.py 75.53% <0.00%> (-1.07%) ⬇️
...runners/interactive/display/pcoll_visualization.py 85.26% <0.00%> (-0.53%) ⬇️
...eam/runners/interactive/interactive_environment.py 90.33% <0.00%> (-0.38%) ⬇️
...ython/apache_beam/examples/kafkataxi/kafka_taxi.py 0.00% <0.00%> (ø)
...s/python/apache_beam/io/gcp/bigquery_file_loads.py 88.07% <0.00%> (+0.57%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b54b0b...2ebdf65. Read the comment docs.

Copy link
Copy Markdown
Member

@aaltay aaltay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

There is one open comment and failing tests. Could you ping me once those are resolved?

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python_PVR_Flink PreCommit

@aaltay
Copy link
Copy Markdown
Member

aaltay commented Jul 29, 2021

Run Python PreCommit

@aaltay
Copy link
Copy Markdown
Member

aaltay commented Jul 29, 2021

Thank you. Ping me or any other committer to merge once tests pass.

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

6 similar comments
@aaltay
Copy link
Copy Markdown
Member

aaltay commented Jul 30, 2021

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

TheNeuralBit and others added 4 commits August 2, 2021 12:50
* Fills correct partitioning for fillna
* Add version number to lib
* Condition on incompatible version features
* Due to BEAM-12495 value_counts with dropna=False does not work on
frames
* Added NotImplementedError when detecting BEAM-12495
@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

2 similar comments
@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@rohdesamuel
Copy link
Copy Markdown
Contributor Author

Run Python PreCommit

@pabloem
Copy link
Copy Markdown
Member

pabloem commented Aug 12, 2021

failures are from a test broken on master

@pabloem pabloem merged commit faac725 into apache:master Aug 12, 2021
@lukecwik
Copy link
Copy Markdown
Member

ibzib pushed a commit to ibzib/beam that referenced this pull request Aug 24, 2021
…] Verify DataFrame API on pandas 1.3.0"

This reverts commit faac725.
ibzib pushed a commit that referenced this pull request Aug 25, 2021
chamikaramj added a commit that referenced this pull request Aug 26, 2021
TheNeuralBit added a commit to TheNeuralBit/beam that referenced this pull request Sep 27, 2021
…I on pandas 1.3.0

* [BEAM-12593] Verify DataFrame API on pandas 1.3.0

* Fills correct partitioning for fillna
* Add version number to lib
* Condition on incompatible version features
* Due to BEAM-12495 value_counts with dropna=False does not work on
frames
* Added NotImplementedError when detecting BEAM-12495

* fix insert/value_counts doc test

* update Pandas doctests for groupby for 1.3.x Pandas

* test dropna&normalize combinations

Co-authored-by: Brian Hulette <[email protected]>
TheNeuralBit added a commit that referenced this pull request Sep 28, 2021
…e) (#15525)

* Merge pull request #15165 from [BEAM-12593] Verify DataFrame API on pandas 1.3.0

* [BEAM-12593] Verify DataFrame API on pandas 1.3.0

* Fills correct partitioning for fillna
* Add version number to lib
* Condition on incompatible version features
* Due to BEAM-12495 value_counts with dropna=False does not work on
frames
* Added NotImplementedError when detecting BEAM-12495

* fix insert/value_counts doc test

* update Pandas doctests for groupby for 1.3.x Pandas

* test dropna&normalize combinations

Co-authored-by: Brian Hulette <[email protected]>

* Upgrade to pandas==1.3.3 in Python container

Co-authored-by: Sam sam <[email protected]>
dmitriikuzinepam pushed a commit to dmitriikuzinepam/beam that referenced this pull request Nov 2, 2021
…e) (apache#15525)

* Merge pull request apache#15165 from [BEAM-12593] Verify DataFrame API on pandas 1.3.0

* [BEAM-12593] Verify DataFrame API on pandas 1.3.0

* Fills correct partitioning for fillna
* Add version number to lib
* Condition on incompatible version features
* Due to BEAM-12495 value_counts with dropna=False does not work on
frames
* Added NotImplementedError when detecting BEAM-12495

* fix insert/value_counts doc test

* update Pandas doctests for groupby for 1.3.x Pandas

* test dropna&normalize combinations

Co-authored-by: Brian Hulette <[email protected]>

* Upgrade to pandas==1.3.3 in Python container

Co-authored-by: Sam sam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants