Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pd.core.strings.StringMethods for Pandas 2 compatability. #28455

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

caneff
Copy link
Contributor

@caneff caneff commented Sep 14, 2023

The new way to do it is pd.Series.str and it is identical functionality.

Umbrella issue: #27221

@caneff
Copy link
Contributor Author

caneff commented Sep 14, 2023

R: @tvalentyn

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #28455 (9358eb5) into master (bec94d9) will increase coverage by 0.00%.
Report is 144 commits behind head on master.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           master   #28455    +/-   ##
========================================
  Coverage   72.33%   72.33%            
========================================
  Files         682      683     +1     
  Lines      100536   100801   +265     
========================================
+ Hits        72719    72915   +196     
- Misses      26239    26308    +69     
  Partials     1578     1578            
Flag Coverage Δ
python 82.83% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
sdks/python/apache_beam/dataframe/frames.py 95.24% <100.00%> (-0.08%) ⬇️

... and 23 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@caneff caneff force-pushed the string_methods branch 2 times, most recently from d5b2d40 to 8caa171 Compare September 15, 2023 15:27
@caneff caneff marked this pull request as draft September 15, 2023 16:20
@caneff caneff marked this pull request as ready for review September 15, 2023 16:44
In Pandas 2, pd.Series.str is the right way and still works with Pandas
1
@tvalentyn
Copy link
Contributor

Run Python_PVR_Flink PreCommit

@tvalentyn
Copy link
Contributor

Run Python_Runners PreCommit

1 similar comment
@tvalentyn
Copy link
Contributor

Run Python_Runners PreCommit

@tvalentyn
Copy link
Contributor

Run Python PreCommit

@tvalentyn
Copy link
Contributor

Run Python_PVR_Flink PreCommit

@caneff
Copy link
Contributor Author

caneff commented Sep 20, 2023

Run Python PreCommit

@tvalentyn tvalentyn merged commit 9327448 into apache:master Sep 20, 2023
77 checks passed
@caneff caneff deleted the string_methods branch September 21, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants