Skip to content
Snippets Groups Projects
Commit 659203f9 authored by Eric's avatar Eric
Browse files

resolve comment on column names

parent 99168f0d
No related branches found
No related tags found
1 merge request!14Resolve "Add function to use new endpoint of IRIC-data"
......@@ -140,10 +140,7 @@ class Client:
)
).json()
df = pd.DataFrame(r['data'], columns=[
'id', 'iric_data_id', 'filename',
'hash', 'uploaded_by', 'lab'
])
df = pd.DataFrame(r['data'])
df.index = df.iric_data_id
df.index.name = 'ID'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment