Function pyobjects_to_bars

Source
pub fn pyobjects_to_bars(data: Vec<Bound<'_, PyAny>>) -> PyResult<Vec<Bar>>
Expand description

Transforms the given Python objects into a vector of Bar objects.

ยงErrors

Returns a PyErr if element conversion fails or the data is not monotonically increasing.