2.10.0 - TraitError: The 'value' trait of a HTML instance must be a unicode string...
See original GitHub issueDescribe the bug
Hi there - Looks like latest release (2.10.0) has broken a to_widgets functionality as outlined in the Getting started
section of the docs. Confirmed eolling back to 2.9.0 does not produce the issue.
To Reproduce
# pandas_profiling==2.10.0
import numpy as np
import pandas as pd
from pandas_profiling import ProfileReport
df = pd.DataFrame(
np.random.rand(100, 5),
columns=["a", "b", "c", "d", "e"]
)
profile = ProfileReport(df, title='Pandas Profiling Report', explorative=True)
profile.to_widgets()
Returns:
TraitError: The 'value' trait of a HTML instance must be a unicode string, but a value of Numeric <class 'visions.types.type.VisionsBaseTypeMeta'> was specified.
Version information: 2.10.0
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:14
Top Results From Across the Web
2.10.0 - TraitError: The 'value' trait of a HTML instance must be ...
Returns: TraitError: The 'value' trait of a HTML instance must be a unicode string, but a value of Numeric <class 'visions.
Read more >Fmriprep: traits.trait_errors.TraitError: The 'run ... - Neurostars
TraitError : The 'run' trait of a ReadSidecarJSONOutputSpec instance must be a unicode string, but a value of 1 <class 'int'> was specified....
Read more >How to fix "TraitError: The 'input' trait of a ... instance is 'read ...
With every initialization of 'input' traits, I get an error like TraitError: The 'input' trait of a PolyDataMapper instance is 'read only'.
Read more >Jupyterhub 500 : Internal Server Error
TraitError : The 'bind_dn_template' trait of a LDAPAuthenticator instance must be a unicode string, but a value of ['string value'] <class ...
Read more >2.10.0 - TraitError: The 'value' trait of a HTML instance must be a ...
TraitError: The 'value ' trait of a HTML instance must be a unicode string, but a value of Numeric <class 'visions.types.type.VisionsBaseTypeMeta'> was specified ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@aidamanzano I don’t think so yet, but you can downgrade to 2.9.0
Version 2.9.0 works fine