move back to colnames
This commit is contained in:
parent
0867e69d1f
commit
0d40080f6c
@ -92,9 +92,7 @@ def _extract_columns(db_resp, id_col_name):
|
|||||||
id_col_name (string): name of column which has the row id (not a
|
id_col_name (string): name of column which has the row id (not a
|
||||||
feature of the analysis)
|
feature of the analysis)
|
||||||
"""
|
"""
|
||||||
keys = [k for k in db_resp[0].keys()]
|
return np.array([db_resp[0][c] for c in db_resp.colnames()
|
||||||
|
|
||||||
return np.array([db_resp[0][c] for c in keys
|
|
||||||
if c != id_col_name],
|
if c != id_col_name],
|
||||||
dtype=float).T
|
dtype=float).T
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user