Skip to content

Commit

Permalink
replace deprecated call to DataFrame.ix with DataFrame.iloc
Browse files Browse the repository at this point in the history
  • Loading branch information
eljost committed Jun 18, 2021
1 parent 377f493 commit 8e23cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ommprotocol/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def plot_log(paths):
import pandas as pd
multi_csv = (pd.read_csv(path, sep="\t", index_col=1) for path in paths)
df = pd.concat(multi_csv, ignore_index=True)
df.ix[:, 1:5].plot(subplots=True, layout=(2,2))
df.iloc[:, 1:5].plot(subplots=True, layout=(2,2))
plt.show()


Expand Down Expand Up @@ -167,4 +167,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 8e23cfb

Please sign in to comment.