Skip to content

standardize cimports of numpy as "cnp" #19405

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

Merged
merged 3 commits into from
Jan 27, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

In a few files this collects scattered numpy imports and puts them all in one place.

Removes unnecessary np.import_ufunc() calls.

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@codecov
Copy link

codecov bot commented Jan 26, 2018

Codecov Report

Merging #19405 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #19405   +/-   ##
=======================================
  Coverage   91.62%   91.62%           
=======================================
  Files         150      150           
  Lines       48729    48729           
=======================================
  Hits        44649    44649           
  Misses       4080     4080
Flag Coverage Δ
#multiple 89.99% <ø> (ø) ⬆️
#single 41.75% <ø> (ø) ⬆️

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 8a7aca9...6865cd7. Read the comment docs.

@jreback jreback added the Clean label Jan 27, 2018
@jreback jreback added this to the 0.23.0 milestone Jan 27, 2018
@jreback jreback merged commit 1d7b075 into pandas-dev:master Jan 27, 2018
@jreback
Copy link
Contributor

jreback commented Jan 27, 2018

thanks. can consider adding a lint rule to enforce some of this, if possible.

@jbrockmendel jbrockmendel deleted the cnp branch January 31, 2018 06:49
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