Skip to content

Conversation

@jschendel
Copy link
Member

@codecov
Copy link

codecov bot commented Dec 13, 2017

Codecov Report

Merging #18757 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@ ## master #18757 +/- ## ========================================== - Coverage 91.63% 91.59% -0.05%  ========================================== Files 154 154 Lines 51419 51422 +3 ========================================== - Hits 47120 47102 -18  - Misses 4299 4320 +21
Flag Coverage Δ
#multiple 89.46% <100%> (-0.03%) ⬇️
#single 40.82% <20%> (-0.12%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/interval.py 93.83% <100%> (+0.03%) ⬆️
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/plotting/_converter.py 64.78% <0%> (-1.74%) ⬇️
pandas/core/frame.py 97.68% <0%> (-0.11%) ⬇️

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 7b4229a...7c330c6. Read the comment docs.

@jreback jreback added Bug Interval Interval data type labels Dec 15, 2017
return cls.from_arrays(left, right, closed, name=name, copy=False)

def to_tuples(self):
"""Return an Index of tuples of the form (left, right)"""
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess would be ok to add a kwarg na_tuple=False here to select behavior as @shoyer suggests.

@jschendel
Copy link
Member Author

Added the na_tuple kwarg. Had to do some explicit checks of the NA value in the test, due equality issues with tuples of NA (see #18756 (comment) for an example)

@jreback jreback added this to the 0.22.0 milestone Dec 15, 2017
@jreback jreback merged commit fe900cb into pandas-dev:master Dec 15, 2017
@jreback
Copy link
Contributor

jreback commented Dec 15, 2017

thanks @jschendel

@jschendel jschendel deleted the iv-idx-tuples branch December 15, 2017 15:46
@shoyer
Copy link
Member

shoyer commented Dec 16, 2017

Indeed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Interval Interval data type

3 participants