You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the as_index should be set to True because the later convert to pandas dataframe user_frame = num_items_by_user.to_frame() and assign columns name user_frame.columns = ['item_cnt'] as only as_index=True will result in a pandas Series, otherwise it already be a dataframe so cannot be converted?
The text was updated successfully, but these errors were encountered:
https://github.com/khanhnamle1994/MetaRec/blob/master/Autoencoders-Experiments/CDAE-PyTorch/DataUtils.py
at line 55, 56
Does the as_index should be set to True because the later convert to pandas dataframe
user_frame = num_items_by_user.to_frame()
and assign columns nameuser_frame.columns = ['item_cnt']
as onlyas_index=True
will result in a pandas Series, otherwise it already be a dataframe so cannot be converted?The text was updated successfully, but these errors were encountered: