Pyarrow future warning with pandas

The following Python script produces a FutureWarning. Is there something I can do to prevent this error, or future incompatibilities?
Python 3.11.5
Pandas 2.1.1
Pyarrow 11.0.0

import as knio
import pandas as pd

df = knio.input_tables[0].to_pandas()

knio.output_tables[0] = knio.Table.from_pandas(df)

ā€¦\Lib\site-packages\pyarrow\ FutureWarning: is_sparse is deprecated and will be removed in a future version. Check isinstance(dtype, pd.SparseDtype) instead.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.