Skip to content

Commit

Permalink
Merge pull request #491 from Anu-Ra-g/idx_update
Browse files Browse the repository at this point in the history
converted idx column to int type
  • Loading branch information
martindurant authored Aug 13, 2024
2 parents 3ae8939 + b7400e0 commit 5085fef
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 5085fef

Please sign in to comment.