We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d411b28 commit acc1be1Copy full SHA for acc1be1
python/pyspark/pandas/supported_api_gen.py
@@ -108,7 +108,9 @@ def _check_pandas_version() -> None:
108
"""
109
Check if the installed pandas version matches the expected version.
110
111
- if LooseVersion(pd.__version__) != LooseVersion(PANDAS_LATEST_VERSION):
+ # Work around pandas version string issue,
112
+ # see https://github.com/pandas-dev/pandas/issues/61579.
113
+ if LooseVersion(pd.__version__.split('+')[0]) != LooseVersion(PANDAS_LATEST_VERSION):
114
msg = (
115
f"Warning: pandas {PANDAS_LATEST_VERSION} is required; your version is {pd.__version__}"
116
)
0 commit comments