Skip to content

Conversation

jschendel
Copy link
Member

@jschendel jschendel added Bug Dtype Conversions Unexpected or buggy dtype conversions Interval Interval data type Constructors Series/DataFrame/Index/pd.array Constructors labels Sep 12, 2019
@jschendel jschendel added this to the 0.25.2 milestone Sep 12, 2019

def test_construction_interval(self):
@pytest.mark.parametrize("interval_constructor", [IntervalIndex, IntervalArray])
def test_construction_interval(self, interval_constructor):
Copy link
Member Author

Choose a reason for hiding this comment

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

no material change here, just cleaning up by using parametrize and removing some unnecessary lines (unassigned repr/str calls)

@pytest.mark.parametrize(
"data_constructor", [list, np.array], ids=["list", "ndarray[object]"]
)
def test_constructor_infer_period(self, data_constructor):
Copy link
Member Author

Choose a reason for hiding this comment

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

no material change here, just cleaning up by using parametrize

@jreback jreback modified the milestones: 0.25.2, 1.0 Sep 20, 2019
@jbrockmendel
Copy link
Member

@jschendel can you rebase

@WillAyd
Copy link
Member

WillAyd commented Dec 17, 2019

@jschendel still active?

@TomAugspurger
Copy link
Contributor

Merged master. This looks good.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

pls merge master as well

@jreback
Copy link
Contributor

jreback commented Jan 3, 2020

can you merge master;ping when green.

@jschendel
Copy link
Member Author

#30640 needs to get merged before this will be good to go per #23563 (comment)

@jschendel
Copy link
Member Author

This is green now. Anything left that I should address?

@jreback jreback merged commit f12567f into pandas-dev:master Jan 6, 2020
@jreback
Copy link
Contributor

jreback commented Jan 6, 2020

lgtm. thanks @jschendel

@jschendel jschendel deleted the series-list-interval branch January 6, 2020 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Constructors Series/DataFrame/Index/pd.array Constructors Dtype Conversions Unexpected or buggy dtype conversions Interval Interval data type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Series(list_of_intervals) results in object dtype

6 participants