Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1499 from markusdregi/pandas_duplicates
Browse files Browse the repository at this point in the history
Pandas drops duplicates
  • Loading branch information
joakim-hove authored Jun 19, 2017
2 parents dddf2fc + 8399660 commit e6c8fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ endif()

set( ERT_VERSION_MAJOR 2 ) # Remember to update release notes whenever
set( ERT_VERSION_MINOR 1 ) # you change the ERT_VERSION_MINOR or MAJOR
set( ERT_VERSION_MICRO 7 ) # with "new in Ert Version X.X.X"!
set( ERT_VERSION_MICRO 8 ) # with "new in Ert Version X.X.X"!

# If the micro version is not integer, that should be interpreted as a
# development version leading towards version MAJOR.MINOR.0
Expand Down
1 change: 1 addition & 0 deletions python/python/ert_gui/plottery/plot_data_gatherer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def gatherSummaryData(ert, case, key):
data = SummaryCollector.loadAllSummaryData(ert, case, [key])
if not data.empty:
data = data.reset_index()
data = data.drop_duplicates()
data = data.pivot(index="Date", columns="Realization", values=key)

return data #.dropna()
Expand Down

0 comments on commit e6c8fd2

Please sign in to comment.