Skip to content

DOC: Improve .at indexer API docs #46734

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

Merged

Conversation

FactorizeD
Copy link
Contributor

Not sure about the wording of the ValueError and whether it is worth adding the additional methods under See Also but the same doc is used for both DataFrame and Series so I thought that mentioning all the methods is good for the sake of completeness

@jreback jreback added the Docs label Apr 10, 2022
@jreback
Copy link
Contributor

jreback commented Apr 10, 2022

under See Also but the same doc is used for both DataFrame and Series so I thought that mentioning all the methods is good for the sake of completeness

this sounds fine

@FactorizeD FactorizeD force-pushed the doc-clarify-at-indexer-api-docs branch from 2c8c355 to 4d153bb Compare April 11, 2022 18:05
@FactorizeD FactorizeD force-pushed the doc-clarify-at-indexer-api-docs branch from 4d153bb to a5044f6 Compare April 12, 2022 19:23
@pep8speaks
Copy link

pep8speaks commented Apr 12, 2022

Hello @FactorizeD! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-05-10 18:54:56 UTC

@FactorizeD FactorizeD force-pushed the doc-clarify-at-indexer-api-docs branch 2 times, most recently from 3003c61 to 841f4f1 Compare April 14, 2022 19:17
@FactorizeD
Copy link
Contributor Author

Failing check seems not related tot his PR. Can this be merged in the current state after the check issue is resolved, or should I do something more?

Notes
-----
See `Fast scalar value getting and setting
<https://pandas.pydata.org/docs/dev/user_guide/indexing.html\
Copy link
Member

Choose a reason for hiding this comment

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

Could you use :ref:`Fast scalar value getting and setting <indexing.basics.get_value>` instead?

@FactorizeD FactorizeD force-pushed the doc-clarify-at-indexer-api-docs branch from 841f4f1 to dc2e0ee Compare May 10, 2022 18:54
@mroeschke mroeschke added this to the 1.5 milestone Jun 3, 2022
@mroeschke mroeschke merged commit f60675d into pandas-dev:main Jun 3, 2022
@mroeschke
Copy link
Member

Thanks @FactorizeD (sorry for the delay). Failure was unrelated

yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: KeyError isn't raised if df/series at property is called with label not existing in the df/series
4 participants