You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi my code is pretty simple, i read 2 parquet file, created 2 reports for each pandas dataframes and used the compare method to generate a compare method. I tried to use the 'to_json()' method to convert my report to json and i got the following error:
"TypeError: to_dict() got an unexpected keyword argument 'orient'"
I saw that you already resolved this issue in:
fix: comparison to_json pd.Series encoding error #1538
I ungraded the package to the latest version and i still get the same error.
Expected Behaviour
I expected to convert my report to a json successfuly.
Data Description
The datasets i am using are confidential but the data format is parquet.
can you please test with the latest version of the package? We have just double checked, and we are able to extract the information of the compare report with no errors.
Example of the code used:
`import pandas as pd
from ydata_profiling import ProfileReport
Current Behaviour
Hi my code is pretty simple, i read 2 parquet file, created 2 reports for each pandas dataframes and used the compare method to generate a compare method. I tried to use the 'to_json()' method to convert my report to json and i got the following error:
"TypeError: to_dict() got an unexpected keyword argument 'orient'"
I saw that you already resolved this issue in:
fix: comparison to_json pd.Series encoding error #1538
I ungraded the package to the latest version and i still get the same error.
Expected Behaviour
I expected to convert my report to a json successfuly.
Data Description
The datasets i am using are confidential but the data format is parquet.
Code that reproduces the bug
pandas-profiling version
v4.6.4
Dependencies
OS
ubuntu
Checklist
The text was updated successfully, but these errors were encountered: