Skip to content
New issue

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

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

Already on GitHub? # to your account

ENH: New accessor for Series invert_or_not #801

Merged
merged 4 commits into from
Dec 18, 2022
Merged

ENH: New accessor for Series invert_or_not #801

merged 4 commits into from
Dec 18, 2022

Conversation

Zeroto521
Copy link
Owner

@Zeroto521 Zeroto521 commented Dec 18, 2022

  • closes #xxxx
  • whatsnew entry
    >>> import dtoolkit
    >>> import pandas as pd
    >>> s = pd.Series([True, False, True])
    >>> s
    0     True
    1    False
    2     True
    dtype: bool
    >>> s.invert_or_not()
    0     True
    1    False
    2     True
    dtype: bool
    >>> s.invert_or_not(invert=True)
    0    False
    1     True
    2    False
    dtype: bool

@codecov
Copy link

codecov bot commented Dec 18, 2022

Codecov Report

Merging #801 (897f023) into main (9d1a731) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #801   +/-   ##
=======================================
  Coverage   99.67%   99.67%           
=======================================
  Files         135      136    +1     
  Lines        1838     1841    +3     
  Branches      389      390    +1     
=======================================
+ Hits         1832     1835    +3     
  Misses          1        1           
  Partials        5        5           
Impacted Files Coverage Δ
dtoolkit/accessor/series/__init__.py 100.00% <100.00%> (ø)
dtoolkit/accessor/series/drop_inf.py 100.00% <100.00%> (ø)
dtoolkit/accessor/series/filter_in.py 100.00% <100.00%> (ø)
dtoolkit/accessor/series/invert_or_not.py 100.00% <100.00%> (ø)
dtoolkit/geoaccessor/geoseries/filter_geometry.py 100.00% <100.00%> (ø)

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

@Zeroto521 Zeroto521 merged commit 872a27a into main Dec 18, 2022
@Zeroto521 Zeroto521 deleted the invert_or_not branch December 18, 2022 09:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant