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

CLN: Drop the as_recarray parameter in read_csv #18804

Merged
merged 5 commits into from
Dec 18, 2017

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Dec 16, 2017

Deprecated back in 0.19.0

xref #13373.

@gfyoung gfyoung added Clean Deprecate Functionality to remove in pandas labels Dec 16, 2017
@jorisvandenbossche jorisvandenbossche added this to the 0.22.0 milestone Dec 16, 2017
@codecov
Copy link

codecov bot commented Dec 16, 2017

Codecov Report

Merging #18804 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #18804      +/-   ##
==========================================
- Coverage   91.64%   91.62%   -0.03%     
==========================================
  Files         154      154              
  Lines       51428    51411      -17     
==========================================
- Hits        47129    47103      -26     
- Misses       4299     4308       +9
Flag Coverage Δ
#multiple 89.48% <100%> (-0.01%) ⬇️
#single 40.84% <100%> (-0.12%) ⬇️
Impacted Files Coverage Δ
pandas/io/parsers.py 95.49% <100%> (-0.06%) ⬇️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.68% <0%> (-0.11%) ⬇️
pandas/core/series.py 94.82% <0%> (ø) ⬆️

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 c28b624...24d4fe5. Read the comment docs.

@gfyoung
Copy link
Member Author

gfyoung commented Dec 16, 2017

Everything is green now. If there are no objections, I'll merge later today.

@jreback
Copy link
Contributor

jreback commented Dec 16, 2017

pls wait for my review


recs = sarr_from_data(dt, length, buf)
assert(recs.flags.owndata)

Copy link
Contributor

Choose a reason for hiding this comment

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

i believe u can remove

sarr_from_data
_fill_structured_columns

from the codebase as well

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm...potentially.

Copy link
Contributor

Choose a reason for hiding this comment

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

we don’t have flake8 on cython that looks for unused things fyi

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah...that's tougher to check, as flake8 works on a file-by-file basis and has no holistic check on the code-base.

Copy link
Member Author

Choose a reason for hiding this comment

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

GitHub search seems to agree with your belief though.

Was only used for creating the recarray object.
The function was only used in creating a recarray.
The function was only used in creating a recarray.
@gfyoung
Copy link
Member Author

gfyoung commented Dec 17, 2017

@jreback : Those two functions have been removed, and all is still green. PTAL.

@jreback jreback merged commit 78dd035 into pandas-dev:master Dec 18, 2017
@jreback
Copy link
Contributor

jreback commented Dec 18, 2017

thanks @gfyoung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants