Skip to content

Commit

Permalink
fix(_dtypes): np.float_ was deprecated (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDsantos authored Jul 30, 2024
1 parent 1891a4a commit 36ed695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastparquet/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def _dtypes(self, categories=None):
if self.pandas_nulls:
dtype[col] = converted_types.nullable[dt]
else:
dtype[col] = np.float_()
dtype[col] = np.float64()
elif dt == 'S12':
dtype[col] = 'M8[ns]'
self._base_dtype = dtype
Expand Down

0 comments on commit 36ed695

Please sign in to comment.