@@ -1104,27 +1104,27 @@ def str_split(arr, pat=None, n=None):
1104
1104
----------
1105
1105
pat : str, optional
1106
1106
String or regular expression to split on.
1107
- If `None` , split on whitespace.
1107
+ If not specified , split on whitespace.
1108
1108
n : int, default -1 (all)
1109
1109
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.
1111
1111
expand : bool, default False
1112
1112
Expand the splitted strings into separate columns.
1113
1113
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.
1116
1116
1117
1117
Returns
1118
1118
-------
1119
1119
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)
1122
1122
1123
1123
Notes
1124
1124
-----
1125
1125
- If n >= default splits, makes all splits
1126
1126
- 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` `
1128
1128
1129
1129
Examples
1130
1130
--------
@@ -1142,7 +1142,7 @@ def str_split(arr, pat=None, n=None):
1142
1142
1 [but this is even better]
1143
1143
dtype: object
1144
1144
1145
- When using `expand=True`, the split elements will
1145
+ When using `` expand=True` `, the split elements will
1146
1146
expand out into separate columns.
1147
1147
1148
1148
>>> s.str.split(expand=True)
0 commit comments