-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
PD.DataFrame is not supported for State #279
Comments
Looking into this now |
This is a bug on our side will be fixing asap |
In the mean time it seems computed vars for pandas is working see this example, https://github.com/pynecone-io/pynecone-examples/blob/main/nba/nba/nba.py |
@Alek99 When I used the computed var in the data_table's
|
Hmm just ran the example and it seems to be working for me what pynecone version are you on and did you change the code at all |
I am using pynecone 0.1.13 version and python 3.9.13 version. And the only code I changed in the |
@wongni I'm seeing this too - working on a fix now. |
What's the right way to instantiate a pandas dataframe in rx.State? Still seem to be getting errors with this approach. |
Describe the bug
pd.DataFrame
type is not supported for StateTo Reproduce
Error Message
Code
pd.DataFrame
in Valid state var typesSpecifics (please complete the following information):
The text was updated successfully, but these errors were encountered: