Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data issue #9

Closed
dinhthangbkhn opened this issue Mar 27, 2018 · 1 comment
Closed

data issue #9

dinhthangbkhn opened this issue Mar 27, 2018 · 1 comment

Comments

@dinhthangbkhn
Copy link

data = pd.merge(data, pd.DataFrame({self.item_key:itemids, 'ItemIdx':self.itemidmap[itemids].values}), on=self.item_key, how='inner')
After merged with pd.DataFrame({self.item_key:itemids, 'ItemIdx':self.itemidmap[itemids].values}), the data 's order is based on itemidx order. So I think the code for processing data after is not true.

@Songweiping
Copy link
Owner

Data is sorted by session key and time key (in init function) again just below the line you mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants