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

DOCS: fix docstring validation errors for pandas.Series #59595 #59955

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pandas/core/arrays/sparse/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,9 @@ def fill_value(self):

See Also
--------
Series.sparse : Accessor for handling sparse data.
Series.sparse.npoints : The number of non- ``fill_value`` points.
Series.sparse.sp_values : An ndarray containing the non- ``fill_value`` values.
SparseDtype : Dtype for data stored in :class:`SparseArray`.
Series.value_counts : Return a Series containing counts of unique values.
Series.fillna : Fill NA/NaN in a Series with a specified value.
Expand Down
8 changes: 8 additions & 0 deletions pandas/core/strings/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,14 @@ def match(self, pat: str, case: bool = True, flags: int = 0, na=None):
"""
Determine if each string starts with a match of a regular expression.

This method checks if the start of each string in the Series or
Index matches the specified regular expression (Regex) pattern,
allowing for complex string matching rules.

Additionally, case sensitivity can be specified, Regex module flags can
be used to modify matching behavior, and a fill value for missing values
can be provided.

Parameters
----------
pat : str
Expand Down