File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3220,7 +3220,7 @@ def assign(self, **kwargs):
3220
3220
3221
3221
Parameters
3222
3222
----------
3223
- **kwargs : dict of {str: callable or series }
3223
+ **kwargs : dict of {str: callable or Series }
3224
3224
The column names are keywords. If the values are
3225
3225
callable, they are computed on the DataFrame and
3226
3226
assigned to the new columns. The callable must not
@@ -3264,7 +3264,7 @@ def assign(self, **kwargs):
3264
3264
Berkeley 25.0 77.0
3265
3265
3266
3266
Alternatively, the same behavior can be achieved by directly
3267
- referencing an existing Series or list-like :
3267
+ referencing an existing Series or sequence :
3268
3268
>>> df.assign(temp_f=df['temp_c'] * 9 / 5 + 32)
3269
3269
temp_c temp_f
3270
3270
Portland 17.0 62.6
You can’t perform that action at this time.
0 commit comments