File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2177,12 +2177,12 @@ def rename(
2177
2177
- A function from old name to new name. If the function returns
2178
2178
`None` the old name is used.
2179
2179
- The literal strings `"snake_case"` or `"ALL_CAPS"` to
2180
- rename all columns using a `snake_case` or `"ALL_CAPS"``
2180
+ rename all columns using a `snake_case` or `"ALL_CAPS"`
2181
2181
naming convention respectively.
2182
2182
- A mapping from new name to old name. Existing columns not present
2183
2183
in the mapping will passthrough with their original name.
2184
2184
substitutions
2185
- Columns to be explicitly renamed, expressed as `new_name=old_name``
2185
+ Columns to be explicitly renamed, expressed as `new_name=old_name`
2186
2186
keyword arguments.
2187
2187
2188
2188
Returns
@@ -2217,7 +2217,7 @@ def rename(
2217
2217
└───────────┴───────────────┴─────────────────────────────────────┘
2218
2218
2219
2219
Rename specific columns by passing keyword arguments like
2220
- `new_name="old_name"``
2220
+ `new_name="old_name"`
2221
2221
2222
2222
>>> t.rename(study_name="studyName").head(1)
2223
2223
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
You can’t perform that action at this time.
0 commit comments