From b0d8d49099485f41e356f24174d53e273a763945 Mon Sep 17 00:00:00 2001
From: Bert Palm <bert.palm@ufz.de>
Date: Fri, 27 Jan 2023 13:24:44 +0100
Subject: [PATCH] fix GL391

---
 dios/dios/dios.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dios/dios/dios.py b/dios/dios/dios.py
index 659718d9d..ea2af4561 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:
-- 
GitLab