Skip to content

Commit

Permalink
Removed deprecated numpy alias
Browse files Browse the repository at this point in the history
Signed-off-by: David Davó <[email protected]>
  • Loading branch information
daviddavo committed Jun 24, 2024
1 parent f9d7e64 commit e18bd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recommenders/datasets/pandas_df_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def fit(self, df, col_rating=DEFAULT_RATING_COL):
types = df.dtypes
if not all(
[
x == object or np.issubdtype(x, np.integer) or x == np.float
x == object or np.issubdtype(x, np.integer) or x == float
for x in types
]
):
Expand Down

0 comments on commit e18bd6d

Please sign in to comment.