The apply
method applies a function along an axis of a DataFrame. If you want to apply a function to a DataFrame elementwise, use applymap
.
The apply
method applies a function along an axis of a DataFrame. If you want to apply a function to a DataFrame elementwise, use applymap
.