โ06-07-2026 11:23 PM
Hello,
databricks-connect is pinning pandas โค๏ธ during the installation. Since we're moving towards pandas 3 can you please add the support for the newest version as well?
โ06-08-2026 06:03 AM
Hi @Albertino , how are you doing today?
Thanks for calling this out. as per my understanding, at the moment, the pandas pin is there intentionally. Databricks Connect release notes say supported pandas versions are currently limited to 1.0.5<=pandas<3 to avoid breakage in pyspark.pandas workloads after the pandas 3.0.0 release.
Fully agree that pandas 3 support will matter. It likely needs proper compatibility work across Databricks Connect and pandas API on Spark before the restriction can be lifted safely. Hopefully that lands soon.
2 weeks ago
Hello, is there a timeframe when the pandas 3.0 support will be implemented?
2 weeks ago
Hi @SergejK,
Good question! As of now, I haven't seen an official ETA from Databricks for pandas 3.0 support in Databricks Connect.
The current restriction (pandas<3) was introduced to prevent compatibility issues with the pandas API on Spark (pyspark.pandas).
For now, I would recommend staying on pandas 2.x for Databricks Connect workloads. Hopefully, the Databricks team can share an estimated timeline, as more teams are moving toward pandas 3.0.
You can track updates here: https://docs.databricks.com/aws/en/release-notes/dbconnect
Hope this helps!
2 weeks ago
Hi, it seems pyspark already has support for pandas 3.0 to some extend. So this might be solvable now. I am already using 3.x.
a week ago
Hi @Albertino pandas api on spark? pandas-on-spark
import pyspark.pandas as ps
a week ago
To me the main issue is that I cannot cleanly install pandas3 with databricks-connect. I am not using pandas with databricks, I am using pandas in a different part of the code, but i cannot install them together without a hack because of the pin.
yesterday
The important distinction here is between pandas 3 compatibility with PySpark and the dependency constraints declared by a particular Databricks Connect release.
Even if some PySpark operations work with pandas 3, that does not automatically establish compatibility with every Databricks Connect version.
I would verify the installed version and its published dependencies before changing the environment.
A simple check is:
python -m pip show databricks-connect pandas
Then inspect the dependency resolution using:
python -m pip check
If the selected Databricks Connect release requires pandas below version 3, I would keep pandas 2.x in that environment rather than force-installing pandas 3.
For example, a project needing pandas 3 for local analytics could use a separate virtual environment while its Databricks Connect integration tests remain on a supported combination.
I would also add a small compatibility test covering DataFrame creation, conversion to pandas and any pandas API on Spark operations used by the application.
The definitive answer depends on the exact Databricks Connect version and its release notes.
Which Databricks Connect version are you testing with pandas 3?