Skip to content

Commit

Permalink
MAINT: PR 959 revisions
Browse files Browse the repository at this point in the history
* fix up a `pandas` `FutureWarning`:

```
FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
```
  • Loading branch information
tylerjereddy committed Sep 26, 2023
1 parent 1858a5d commit d0fb031
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -677,10 +677,10 @@ def plot_with_report(report: darshan.DarshanReport,
height = num_cats

plot_data(fig,
file_rd_series[sort_inds],
file_wr_series[sort_inds],
bytes_rd_series[sort_inds],
bytes_wr_series[sort_inds],
file_rd_series.iloc[sort_inds],
file_wr_series.iloc[sort_inds],
bytes_rd_series.iloc[sort_inds],
bytes_wr_series.iloc[sort_inds],
filesystem_roots,
num_cats=num_cats)

Expand Down

0 comments on commit d0fb031

Please sign in to comment.