We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running Tutorial 2: Benchmarking models, the script stops with
TypeError: DataFrame.set_axis() got an unexpected keyword argument 'inplace'
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[5], [line 1](vscode-notebook-cell:?execution_count=5&line=1) ----> [1](vscode-notebook-cell:?execution_count=5&line=1) Benchmarks.highlight(score) File c:\Users\gg\Documents\QuantAkt\EigeneProjekte\BDLV\UAG 3\synthetic data\synthcity progs\.syncenv\Lib\site-packages\pydantic\decorator.py:40, in pydantic.decorator.validate_arguments.validate.wrapper_function() File c:\Users\gg\Documents\QuantAkt\EigeneProjekte\BDLV\UAG 3\synthetic data\synthcity progs\.syncenv\Lib\site-packages\pydantic\decorator.py:134, in pydantic.decorator.ValidatedFunction.call() File c:\Users\gg\Documents\QuantAkt\EigeneProjekte\BDLV\UAG 3\synthetic data\synthcity progs\.syncenv\Lib\site-packages\pydantic\decorator.py:206, in pydantic.decorator.ValidatedFunction.execute() File c:\Users\gg\Documents\QuantAkt\EigeneProjekte\BDLV\UAG 3\synthetic data\synthcity progs\.syncenv\Lib\site-packages\synthcity\benchmark\__init__.py:362, in Benchmarks.highlight(results) [359](file:///C:/Users/gg/Documents/QuantAkt/EigeneProjekte/BDLV/UAG%203/synthetic%20data/synthcity%20progs/.syncenv/Lib/site-packages/synthcity/benchmark/__init__.py:359) means.append(data) [361](file:///C:/Users/gg/Documents/QuantAkt/EigeneProjekte/BDLV/UAG%203/synthetic%20data/synthcity%20progs/.syncenv/Lib/site-packages/synthcity/benchmark/__init__.py:361) out = pd.concat(means, axis=1) --> [362](file:///C:/Users/gg/Documents/QuantAkt/EigeneProjekte/BDLV/UAG%203/synthetic%20data/synthcity%20progs/.syncenv/Lib/site-packages/synthcity/benchmark/__init__.py:362) out.set_axis(results.keys(), axis=1, inplace=True) [364](file:///C:/Users/gg/Documents/QuantAkt/EigeneProjekte/BDLV/UAG%203/synthetic%20data/synthcity%20progs/.syncenv/Lib/site-packages/synthcity/benchmark/__init__.py:364) bad_highlight = "background-color: lightcoral;" [365](file:///C:/Users/gg/Documents/QuantAkt/EigeneProjekte/BDLV/UAG%203/synthetic%20data/synthcity%20progs/.syncenv/Lib/site-packages/synthcity/benchmark/__init__.py:365) ok_highlight = "background-color: green;" TypeError: DataFrame.set_axis() got an unexpected keyword argument 'inplace'
The offending instruction in line 362 uses "inplace" and the Pandas docs tell me "Deprecated since version 1.5.0." But In setup.cfg I find
pandas>=2.1 # min due to lifelines
python : 3.12.7 python-bits : 64 OS : Windows OS-release : 11 Version : 10.0.22631
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When running Tutorial 2: Benchmarking models, the script stops with
The offending instruction in line 362 uses "inplace" and the Pandas docs tell me "Deprecated since version 1.5.0."
But In setup.cfg I find
How to Reproduce
System Information
python : 3.12.7
python-bits : 64
OS : Windows
OS-release : 11
Version : 10.0.22631
The text was updated successfully, but these errors were encountered: