File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10399,11 +10399,11 @@ def apply(
10399
10399
These only act when ``axis=1`` (columns):
10400
10400
10401
10401
* 'expand' : list-like results will be turned into columns.
10402
- Note: The output type is inferred from the first function return value.
10403
- If the first return value is not list-like (e.g., None or NaN), expansion
10404
- will not occur, and the result may be a Series instead of a DataFrame.
10405
- To avoid inconsistent output types, ensure your function returns
10406
- consistent list-like objects (e.g., an empty dict {}) for missing or
10402
+ Note: The output type is inferred from the first function return value.
10403
+ If the first return value is not list-like (e.g., None or NaN), expansion
10404
+ will not occur, and the result may be a Series instead of a DataFrame.
10405
+ To avoid inconsistent output types, ensure your function returns
10406
+ consistent list-like objects (e.g., an empty dict {}) for missing or
10407
10407
NaN-like values.
10408
10408
10409
10409
You can’t perform that action at this time.
0 commit comments