(pydf: PyDataFrame, interval_seconds: i64)
| 144 | report_to_pydict(py, report) |
| 145 | } |
| 146 | |
| 147 | #[pyfunction(name = "align_calendar_df")] |
| 148 | fn data_align_calendar_df(pydf: PyDataFrame, interval_seconds: i64) -> PyResult<PyDataFrame> { |
| 149 | let df: DataFrame = pydf.into(); |
| 150 | let out_df = |
| 151 | openquant::data_processing::align_calendar_df(&df, interval_seconds).map_err(to_py_err)?; |
| 152 | Ok(PyDataFrame(out_df)) |
| 153 | } |
| 154 |
nothing calls this directly
no test coverage detected