Skip to content

Commit 0a1da96

Browse files
update backticks
1 parent 2e13424 commit 0a1da96

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pandas/core/strings.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -1104,27 +1104,27 @@ def str_split(arr, pat=None, n=None):
11041104
----------
11051105
pat : str, optional
11061106
String or regular expression to split on.
1107-
If `None`, split on whitespace.
1107+
If not specified, split on whitespace.
11081108
n : int, default -1 (all)
11091109
Limit number of splits in output.
1110-
`None`, 0 and -1 will be interpreted as return all splits.
1110+
``None``, 0 and -1 will be interpreted as return all splits.
11111111
expand : bool, default False
11121112
Expand the splitted strings into separate columns.
11131113
1114-
* If `True`, return DataFrame/MultiIndex expanding dimensionality.
1115-
* If `False`, return Series/Index, containing lists of strings.
1114+
* If ``True``, return DataFrame/MultiIndex expanding dimensionality.
1115+
* If ``False``, return Series/Index, containing lists of strings.
11161116
11171117
Returns
11181118
-------
11191119
split : Series/Index or DataFrame/MultiIndex of objects
1120-
Type matches caller unless `expand=True` (return type is `DataFrame` or
1121-
`MultiIndex`)
1120+
Type matches caller unless ``expand=True`` (return type is DataFrame or
1121+
MultiIndex)
11221122
11231123
Notes
11241124
-----
11251125
- If n >= default splits, makes all splits
11261126
- If n < default splits, makes first n splits only
1127-
- Appends `None` for padding if `expand=True`
1127+
- Appends `None` for padding if ``expand=True``
11281128
11291129
Examples
11301130
--------
@@ -1142,7 +1142,7 @@ def str_split(arr, pat=None, n=None):
11421142
1 [but this is even better]
11431143
dtype: object
11441144
1145-
When using `expand=True`, the split elements will
1145+
When using ``expand=True``, the split elements will
11461146
expand out into separate columns.
11471147
11481148
>>> s.str.split(expand=True)

0 commit comments

Comments
 (0)