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

DEPR: string indexing along index for datetimes #36179

Merged
merged 15 commits into from Sep 24, 2020

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Sep 7, 2020

Let's get ourselves one less special case to worry about

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.

on board with this, ping when passing

@jreback jreback added Deprecate Functionality to remove in pandas Indexing Related to indexing on series/frames, not to indexes themselves Timeseries labels Sep 7, 2020
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.

also the ???

@jbrockmendel
Copy link
Member Author

also the ???

placeholder before I had a PR number. just updated

@jbrockmendel
Copy link
Member Author

could use some help with the ipython directive errors

@jbrockmendel
Copy link
Member Author

ping

@jreback jreback added this to the 1.2 milestone Sep 24, 2020
@jreback jreback merged commit e4086ec into pandas-dev:master Sep 24, 2020
@jreback
Copy link
Contributor

jreback commented Sep 24, 2020

thanks, can you add the entry to the deprecation removal issue as well when you have a sec

@@ -590,24 +595,28 @@ This starts on the very first time in the month, and includes the last date and
time for the month:

.. ipython:: python
:okwarning:

dft['2013-1':'2013-2']
Copy link
Member

Choose a reason for hiding this comment

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

This is not actually deprecated, right? (and thus shouldn't raise a warning?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. I think this should be deprecated too.

Edit: On further thought, not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Indexing Related to indexing on series/frames, not to indexes themselves Timeseries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DEPR: DataFrame.__getitem__[str] sometimes slices on index
3 participants