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

library doesn't work with pandas v2.0.x #92

Open
giordanocolombi opened this issue Jun 12, 2023 · 1 comment
Open

library doesn't work with pandas v2.0.x #92

giordanocolombi opened this issue Jun 12, 2023 · 1 comment
Milestone

Comments

@giordanocolombi
Copy link

Hi there,

I've noticed that the library doesn't work with pandas v2.0.x

AttributeError: 'Series' object has no attribute 'append'

or

'pandas.core.series.Series object' has no attribute 'iteritems'

Do you have a version compatible with the lastest version of pandas?

Best,
Giordano

@ArturSepp
Copy link

a manual fix to use pybloqs for pandas > 2.x:
locate file "...\Lib\site-packages\pybloqs\jinja\table.html" and
change line 44 from
{% for col_name, cell in row.iteritems() %}
to
{% for col_name, cell in row.items() %}

@rspencer01 rspencer01 added this to the v1.3.0 milestone Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants