We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
relabel
rename
1 parent 11e03fa commit 6bc9e15Copy full SHA for 6bc9e15
docs/tutorials/ibis-for-pandas-users.qmd
@@ -242,17 +242,17 @@ mutated
242
### Renaming columns
243
244
In addition to replacing columns, you can rename them as well. This is done with
245
-the `relabel` method which takes a dictionary containing the name mappings.
+the `rename` method which takes a dictionary containing the name mappings.
246
247
248
```{python}
249
-relabeled = t.relabel(
+renamed = t.rename(
250
dict(
251
- one="a",
252
- two="b",
+ a="one",
+ b="two",
253
)
254
255
-relabeled
+renamed
256
```
257
258
## Selecting rows
0 commit comments