diff --git a/dios/dios/dios.py b/dios/dios/dios.py index 659718d9df655806a964b563dc7f5efa10a6f00e..ea2af4561149220ced6c0ed230df559e51bc0d46 100644 --- a/dios/dios/dios.py +++ b/dios/dios/dios.py @@ -1179,8 +1179,9 @@ def pprint_dios( # stringified values of the series upto max_rows+1, where # the additional row is the column-name outer = [] - for colname in data.index: - s = data.at[colname] + for i, colname in enumerate(data.index): + # use iat instead of at, see #GL391 + s = data.iat[i] isempty = s.empty if isempty: