Skip to content

Commit

Permalink
Do not expect df column named 0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored May 27, 2019
1 parent 90f3195 commit 99e1685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webviz_subsurface/datainput/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def extract_mismatch(ens_paths, observation_file: Path) -> pd.DataFrame:
)\
.reset_index()\
.fillna(0)\
.drop(columns=[0])\
.drop(columns=[0], errors='ignore')\
.merge(df_count, on='OBSKEY', how='left')\
.rename(columns={'OBSKEY': 'obs_group_name',
'REAL': 'realization',
Expand Down

0 comments on commit 99e1685

Please sign in to comment.