In retool, use the polars library in python to report an error

import pandas as pd
import polars as pl

pd_df = pd.DataFrame({
    "foo": [1, 1, 2],
    "bar": [3, 4, 5]
})

df = pl.from_pandas(pd_df)
return(df)

截屏2024-09-14 16.10.34
polars version is 1.7.1

Did you try to install and import pySeries?

1 Like