Skip to content

Conversation

@Hestaron
Copy link

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@jorisvandenbossche jorisvandenbossche added the Sprints Sprint Pull Requests label Sep 16, 2023
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @Hestaron. I added couple of comments, personal preferences, let me know if you disagree with them.

.. deprecated:: 2.1.0
Please create a mask and filter using `.loc` instead
Please create a mask and filter using `.loc` instead.
See examples for both cases.
Copy link
Member

Choose a reason for hiding this comment

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

Can you just write See examples below. instead? In the same line probably better.

2018-04-13 3
2018-04-15 4
This is an alternative example. If you are not sure the index is sorted.
Copy link
Member

Choose a reason for hiding this comment

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

Can you add this example at the very end of the docstring please? I think the comment below should stay and give context to the original last example.

I know we're adding this because of the deprecation, but I'd personally prefer to phrase this as This is equivalent to...

@datapythonista datapythonista changed the title xAdded 2 alternative examples for DataFrame.last() DOC: Added alternative examples for deprecated DataFrame.last() Oct 7, 2023
@datapythonista datapythonista added Docs Datetime Datetime data dtype labels Oct 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2023

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Nov 7, 2023
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Datetime Datetime data dtype Docs Sprints Sprint Pull Requests Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants