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 knime.scripting.io 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\pandas_compat.py:373: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check isinstance(dtype, pd.SparseDtype) instead.

3 Likes

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