Skip to content

Commit

Permalink
converted idx column to int type
Browse files Browse the repository at this point in the history
  • Loading branch information
Anu-Ra-g committed Aug 13, 2024
1 parent bc1275c commit b7400e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kerchunk/grib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ def parse_grib_idx(
":", expand=True, n=3
)
result["offset"] = result["offset"].astype(int)
result["idx"] = result["idx"].astype(int)

# dropping the original single "raw_data" column after formatting
result.drop(columns=["raw_data"], inplace=True)
Expand Down

0 comments on commit b7400e0

Please sign in to comment.