Skip to content

Commit

Permalink
fix bug in Pandas. iteritems was removed in 2.0.0. #27
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinaYepes committed Jan 3, 2024
1 parent 1bda3f8 commit 317cd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usgs_stations_json_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def read_usgs_json(json_path):
# Iterate over different columns. Each colum can be a component
data = []
pgas = []
for index, chan in rec_sation.iteritems():
for index, chan in rec_sation.items():
try:
if chan["name"].endswith("Z") or chan["name"].endswith("U"):
continue
Expand Down

0 comments on commit 317cd8a

Please sign in to comment.