Skip to content
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

rpy2 and pandas 0.24.2 compatibility #36

Closed
ejolly opened this issue Mar 18, 2019 · 1 comment
Closed

rpy2 and pandas 0.24.2 compatibility #36

ejolly opened this issue Mar 18, 2019 · 1 comment

Comments

@ejolly
Copy link
Owner

ejolly commented Mar 18, 2019

Looks like there's currently a type conversion issue where newer version of pandas expect categorical types and rpy2 may not automatically convert them. Keeping note of the error here to revisit in the future. For now we're fixing the pandas requirement to version 0.23.4

TypeError: Parameter 'categories' must be list-like, was <rpy2.rinterface.StrSexpVector - Python:0x7fca505dcd38 / R:0x564cb91259a8>

Occurs at self.marginal_estimates = pandas2ri.ri2py(base.summary(res)[0]) in Lmer.post_hoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant