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

DOC: Add docstrings to fixtures in /series/methods/test_drop_duplicates.py #59265

Conversation

ivonastojanovic
Copy link
Contributor

Add docstrings to fixtures in /pandas/tests/series/methods/test_drop_duplicates.py file.

Partially addresses #19159

@ivonastojanovic ivonastojanovic changed the title Add docstrings to fixtures in /indexes/datetimelike_/test_drop_duplic… DOC: Add docstrings to fixtures in /indexes/datetimelike_/test_drop_duplic… Jul 17, 2024
@ivonastojanovic ivonastojanovic changed the title DOC: Add docstrings to fixtures in /indexes/datetimelike_/test_drop_duplic… DOC: Add docstrings to fixtures in /series/methods/test_drop_duplicates.py Jul 17, 2024
@ivonastojanovic ivonastojanovic deleted the methods_test_drop_duplicates_fixture_docs branch July 17, 2024 18:00
@ivonastojanovic ivonastojanovic restored the methods_test_drop_duplicates_fixture_docs branch July 17, 2024 18:08
@ivonastojanovic ivonastojanovic force-pushed the methods_test_drop_duplicates_fixture_docs branch from 27f6cfb to 6427808 Compare July 17, 2024 18:17
@@ -75,10 +75,22 @@ class TestSeriesDropDuplicates:
params=["int_", "uint", "float64", "str_", "timedelta64[h]", "datetime64[D]"]
)
def dtype(self, request):
"""
Fixture that provides different data types for testing.
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 ensure these docstrings just fit on one line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean to write a shorter description or the same description in just one line?

Copy link
Member

Choose a reason for hiding this comment

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

Both I would say. These docstrings aren't entirely critical so it's best to be succinct.

@mroeschke mroeschke added the Docs label Jul 17, 2024
@mroeschke mroeschke added this to the 3.0 milestone Jul 18, 2024
@mroeschke mroeschke merged commit c3b72aa into pandas-dev:main Jul 18, 2024
45 checks passed
@mroeschke
Copy link
Member

Thanks @ivonastojanovic

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.

2 participants