Skip to content

Commit

Permalink
Merge pull request #2113 from recommenders-team/np-deprecation
Browse files Browse the repository at this point in the history
Removed deprecated numpy alias
  • Loading branch information
miguelgfierro committed Jun 24, 2024
2 parents f9d7e64 + e18bd6d commit 73b478c
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 73b478c

Please sign in to comment.