Skip to content

df.drop(): added inplace=False argument - #3497

Merged
kkraus14 merged 2 commits into
NVIDIA:branch-0.11from
madsbk:df_drop_inplace
Dec 2, 2019
Merged

kkraus14 merged 2 commits into
NVIDIA:branch-0.11from
madsbk:df_drop_inplace

Conversation

@madsbk

@madsbk madsbk commented Dec 2, 2019 •

Copy link
Copy Markdown
Contributor

Adds an inplace argument to DataFrame.drop(), which fixes #3493.

Using in-place avoids a copy and can improve performance significantly (see dask/dask#5657)

@madsbk
madsbk marked this pull request as ready for review December 2, 2019 15:09
@madsbk
madsbk requested a review from a team as a code owner December 2, 2019 15:09
Comment thread python/cudf/cudf/core/dataframe.py Resolved
@codecov

codecov Bot commented Dec 2, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #3497 into branch-0.11 will decrease coverage by <.01%.
The diff coverage is 75%.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.11    #3497      +/-   ##
===============================================
- Coverage        87.34%   87.33%   -0.01%     
===============================================
  Files               49       49              
  Lines             9334     9336       +2     
===============================================
+ Hits              8153     8154       +1     
- Misses            1181     1182       +1
Impacted Files Coverage Δ
python/cudf/cudf/core/dataframe.py 93.21% <75%> (-0.06%) ⬇️

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 c27db8b...0cae8f1. Read the comment docs.

@kkraus14 kkraus14 added 5 - Ready to Merge Testing and reviews complete, ready to merge Python Affects Python cuDF API. labels Dec 2, 2019
@kkraus14
kkraus14 merged commit 20c1a22 into NVIDIA:branch-0.11 Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to Merge Testing and reviews complete, ready to merge Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[QST] deepcopy in cudf.drop

2 participants