polars-python 0.52.0

Enable running Polars workloads in Python
Documentation
1
2
3
4
5
6
7
use pyo3::prelude::*;

#[pyfunction]
pub fn escape_regex(s: &str) -> PyResult<String> {
    let escaped_s = polars_ops::chunked_array::strings::escape_regex_str(s);
    Ok(escaped_s)
}