JakobGM / patito

A data modelling layer built on top of polars and pydantic
MIT License
270 stars 23 forks source link

[BUG]: Remove `.collect(eager=True)` #26

Closed jjfantini closed 6 months ago

jjfantini commented 11 months ago

This syntax is no longer supported with Polars. This should be removed.

Reprex: df: is a simple financial time series from OpenBB.

test = StocksBaseModel.DataFrame(df).cast()

TypeError: LazyFrame.collect() got an unexpected keyword argument 'eager'
jjfantini commented 11 months ago

A PR should be created to fix this along with PR #24

Will submit a PR soon. Working on my local installation