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

ENH: New accessor change_axis_type #768

Merged
merged 8 commits into from Nov 19, 2022
Merged

Conversation

Zeroto521
Copy link
Owner

@Zeroto521 Zeroto521 commented Nov 19, 2022

  • closes #xxxx
  • whatsnew entry
    >>> df = pd.DataFrame([[1, 2], [3, 4]])
    >>> df
       0  1
    0  1  2
    1  3  4
    >>> df.index
    RangeIndex(start=0, stop=2, step=1)
    >>> df.change_axis_type(str).index
    Index(['0', '1'], dtype='object')

@codecov
Copy link

codecov bot commented Nov 19, 2022

Codecov Report

Merging #768 (4d7305c) into main (0ab1c19) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #768   +/-   ##
=======================================
  Coverage   99.60%   99.61%           
=======================================
  Files         111      113    +2     
  Lines        1526     1550   +24     
  Branches      346      353    +7     
=======================================
+ Hits         1520     1544   +24     
  Misses          1        1           
  Partials        5        5           
Impacted Files Coverage Δ
dtoolkit/accessor/dataframe/change_axis_type.py 100.00% <100.00%> (ø)
dtoolkit/accessor/series/change_axis_type.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 ddc1ff3 into main Nov 19, 2022
@Zeroto521 Zeroto521 deleted the accessor/change_axis_type branch November 19, 2022 07:55
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.

None yet

1 participant