-
Notifications
You must be signed in to change notification settings - Fork 110
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
Issue while loading demo data #448
Comments
After some clumsy testing, changing this chunk with the following, fixed the issue.
Happy to submit a PR. |
Hello @laresbernardo, Thank you for contacting us! We appreciate your enthusiasm for testing Meridian and welcome your feedback. It looks like the issues you are observing are related to pandas updated to v2.2.3. Please be advised that Meridian currently only supports pandas >= 1.5.3, < 2. For local installations, we recommend to install Meridian using We are not yet accepting PRs but will merge your suggestion from our end. We are working internally on supporting pandas v2+ and after this is completed, your issue should be resolved too. Thank you Google Meridian Support Team |
The problem comes from using .stack in a Series, because when using [] always return a Series as a result. @laresbernardo you are probably not passing a list to controls, instead just a string. |
Meridian v1.0.1 updated the pandas' version to |
@4ndt3s Im using with Pandas 2.2.2 and I had the same problem, but I noticed that I was passing a string, and not a list: the problem is not from the repo itself, but of the data type passed to the "controls" parameter: must be a list. Maybe with more type checkers the Exception message could have been clearer instead of resulting in a generic Pandas exception. |
Really glad to start testing meridian.
I've started testing meridian with the demo and dummy data, following the notebook provided with Collab. I have encountered the following breaking issue while loading the data:
Given I feel more comfortable in RStudio/R, I tested the code using reticulate, and got a very similar error in the same step. (I can share the code afterwards if it helps).
I'm testing latest dev version from Github and tested with pip as well. Also, pandas updated to v2.2.3. Sorry if it's a dumb question instead of a bug.
The text was updated successfully, but these errors were encountered: