Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stmtools/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def from_csv(
# specify str type for point id
# otherwise it will be loaded as objest type
# then when saving to zarr, a redundant loading is needed to determine type
da_pnt = ddf[column].to_dask_array(lengths=chunks).astype(str)
da_pnt = ddf[column].astype(str).to_dask_array(lengths=chunks).astype(str)
else:
da_pnt = ddf[column].to_dask_array(lengths=chunks)
stmat = stmat.assign({column: (("space"), da_pnt)})
Expand Down