We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b6ad6a commit f6d18aaCopy full SHA for f6d18aa
1 file changed
dataretrieval/nwis.py
@@ -1171,7 +1171,7 @@ def _read_json(json):
1171
1172
# read json, converting all values to float64 and all qualifiers
1173
# Lists can't be hashed, thus we cannot df.merge on a list column
1174
- record_df = pd.read_json(record_json,
+ record_df = pd.read_json(StringIO(record_json),
1175
orient='records',
1176
dtype={'value': 'float64',
1177
'qualifiers': 'unicode'},
0 commit comments