vDataFrame[].sub¶
In [ ]:
vDataFrame[].sub(x: float)
Substracts the input element to the vcolumn.
In [90]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
display(titanic["age"])
In [91]:
titanic["age"].sub(2)
Out[91]:
See Also¶
| vDataFrame[].apply | Applies a function to the input vcolumn. |
