Skip to content

Conversation

jbrockmendel
Copy link
Member

I think the function might also be incorrectly excluding period_dtype.


def _get_na_value(dtype):
# TODO: remove; this may require a deprecation cycle because this is
# listed in indexes.api.__all_
Copy link
Member

Choose a reason for hiding this comment

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

That's odd that that's the case! After all, the underscore means it should be private...

Copy link
Contributor

Choose a reason for hiding this comment

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

this is not public and can be removed. the whole pandas.core.index bizness needs to be removed as well.

@gfyoung gfyoung added Internals Related to non-user accessible pandas implementation Clean labels Feb 14, 2018
@codecov
Copy link

codecov bot commented Feb 14, 2018

Codecov Report

Merging #19692 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19692      +/-   ##
==========================================
+ Coverage   91.58%    91.6%   +0.02%     
==========================================
  Files         150      150              
  Lines       48864    48862       -2     
==========================================
+ Hits        44752    44762      +10     
+ Misses       4112     4100      -12
Flag Coverage Δ
#multiple 89.98% <100%> (+0.02%) ⬆️
#single 41.75% <20%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/multi.py 95.06% <ø> (ø) ⬆️
pandas/core/indexes/api.py 98.78% <ø> (ø) ⬆️
pandas/core/indexes/base.py 96.45% <100%> (-0.01%) ⬇️
pandas/core/series.py 94.56% <100%> (-0.01%) ⬇️
pandas/core/reshape/reshape.py 100% <100%> (ø) ⬆️
pandas/core/frame.py 97.16% <0%> (ø) ⬆️
pandas/io/parquet.py 71.79% <0%> (ø) ⬆️
pandas/core/groupby.py 92.2% <0%> (ø) ⬆️
pandas/core/generic.py 95.94% <0%> (ø) ⬆️
pandas/plotting/_converter.py 66.95% <0%> (+1.73%) ⬆️

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 49812cf...425bb4f. Read the comment docs.


def _get_na_value(dtype):
# TODO: remove; this may require a deprecation cycle because this is
# listed in indexes.api.__all_
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not public and can be removed. the whole pandas.core.index bizness needs to be removed as well.

@jbrockmendel jbrockmendel mentioned this pull request Feb 16, 2018
4 tasks
@jreback jreback added this to the 0.23.0 milestone Feb 16, 2018
@jreback jreback merged commit 44c822d into pandas-dev:master Feb 16, 2018
@jreback
Copy link
Contributor

jreback commented Feb 16, 2018

thanks!

@jbrockmendel jbrockmendel deleted the get_na_value branch February 18, 2018 18:22
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Clean Internals Related to non-user accessible pandas implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants