We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84fedf0 commit e13b5d3Copy full SHA for e13b5d3
pygmt/clib/conversion.py
@@ -158,8 +158,8 @@ def _to_numpy(data: Any) -> np.ndarray:
158
"""
159
# Mapping of unsupported dtypes to the expected NumPy dtype.
160
dtypes: dict[str, type] = {
161
- "date32[day][pyarrow]": np.datetime64,
162
- "date64[ms][pyarrow]": np.datetime64,
+ "date32[day][pyarrow]": "datetime64[D]",
+ "date64[ms][pyarrow]": "datetime64[ms]",
163
}
164
165
if (
0 commit comments