I want to delete the row that is column 'revenue' = 0 or 'Budget' = 0 from the movie table so I tried this code.
movies[(movies['revenue'] == 0) or (movies['Budget'] == 0)]
Then, I got a value error
So I tried this code as well
columns = ['budget', 'revenue']
df = movies.replace(0, pd.np.nan).dropna(axis=0, how='any', subset = columns).fillna(0).astype(int)
also I got an Future warning " The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly instead. plus, value error that traceback