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

TypeError: _translate() takes from 3 to 6 positional arguments but 7 were given #9

Open
PelzKo opened this issue Feb 26, 2023 · 1 comment · May be fixed by #11
Open

TypeError: _translate() takes from 3 to 6 positional arguments but 7 were given #9

PelzKo opened this issue Feb 26, 2023 · 1 comment · May be fixed by #11

Comments

@PelzKo
Copy link

PelzKo commented Feb 26, 2023

I was working with an older version of zentables and pandas where everything worked, but now that I have upgraded to zentables 0.2.4 (downloaded through pip install zentables) and pandas 1.5.3. there is an error when I run df.zen.pretty():

githubIssueZentables
githubIssueZentables2

Any idea what might cause that? Is the error on my part or does it also not work for you if you try it in a conda environment with the newest versions?

@digicosmos86
Copy link
Contributor

I've been getting the same feedback in the last few days about zentables not working with pandas 1.5.3. It seems that there are be some changes to pandas that make it incompatible with zentables. I will fix it in the next week or so, but the quickest fix is to specify pandas version to 1.3.x or 1.4.x if you are not using any of the new features in the newer versions.

@digicosmos86 digicosmos86 linked a pull request Apr 2, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants