Skip to content

Commit

Permalink
Merge pull request #19 from eljost/pdfix
Browse files Browse the repository at this point in the history
Replace deprecated call to DataFrame.ix with DataFrame.iloc
  • Loading branch information
jaimergp committed Jun 18, 2021
2 parents 377f493 + 8e23cfb commit 3105cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ommprotocol/analyze.py
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 3105cd3

Please sign in to comment.