Drop in place
Description
Drop a single column in-place and return the dropped column.
Usage
<DataFrame>$drop_in_place(name)
Arguments
name
|
string Name of the column to drop. |
Value
Series
Examples
#> polars Series: shape: (150,)
#> Series: 'Species' [cat]
#> [
#> "setosa"
#> "setosa"
#> "setosa"
#> "setosa"
#> "setosa"
#> …
#> "virginica"
#> "virginica"
#> "virginica"
#> "virginica"
#> "virginica"
#> ]
#> [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width"