Skip to content

Commit 55df968

Browse files
committed
Fix warning in pandas 2.0
1 parent 16807f3 commit 55df968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subscript/bjobsusers/bjobsusers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def show_status(status: str = "RUN", title: str = "Running", umax: int = 10) ->
143143
print("--------------")
144144
for user, count in dframe.iterrows():
145145
print(
146-
count[0],
146+
count.iloc[0],
147147
userinfo( # lgtm [py/clear-text-logging-sensitive-data]
148148
str(user), call_pinky
149149
),

0 commit comments

Comments
 (0)