Function apply_along_axis
Source pub fn apply_along_axis(
py: Python<'_>,
df: Py<PyAny>,
func: Py<PyAny>,
axis: usize,
) -> PyResult<Py<PyAny>>
Expand description
Apply a scirs2 function row-wise or column-wise to a DataFrame
§Arguments
df - A pandas DataFrame
func - A scirs2 function that takes a 1D array
axis - 0 for column-wise (default), 1 for row-wise
§Returns
A pandas Series with results