Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Update pywqp_client.py #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update pywqp_client.py #10

wants to merge 2 commits into from

Conversation

GeoMurph1
Copy link

Changed import for StringIO to extract from six compatibility library as StringIO no longer exists in io.

Changed import for StringIO to extract from six compatibility library as StringIO no longer exists in io.
@GeoMurph1
Copy link
Author

I have changed the import line for StringIO to import StringIO from the six Python 2.x -> Python 3.x compatibility library: https://pypi.org/project/six/, as StringIO is no longer included in io.

Changed StringIO import to io- StringIO module imported from six library did not work properly in response_as_pandas_dataframe (line 158).
Changed StringIO.StringIO to io.BytesIO in line 158; this successfully returned dataframe from response content.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant