Trait ColumnsUdf
pub trait ColumnsUdf: Send + Sync {
// Required method
fn call_udf(&self, s: &mut [Column]) -> Result<Column, PolarsError>;
// Provided method
fn as_any(&self) -> &(dyn Any + 'static) { ... }
}
Expand description
A wrapper trait for any closure Fn(Vec<Series>) -> PolarsResult<Series>