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

Corrected the Question 4. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AmineBellahsen
Copy link

@AmineBellahsen AmineBellahsen commented Dec 6, 2020

Hello,

The list of items should be sorted alphabetically before applying the Counter function.

Otherwise for instance, you'll find that ('Lightning Charging Cable', 'iPhone') are sold together 1005 times and ('iPhone', 'Lightning Charging Cable') are sold together 10 times, while the wanted result would be ('Lightning Charging Cable', 'iPhone') sold 1015 times.

Thank you for your awesome work!

Amine B.

The list of items should be sorted alphabetically before applying the Counter function.
Otherwise, you'll find that ('Lightning Charging Cable', 'iPhone') are sold together 1005 times and ('iPhone','Lightning Charging Cable') are sold together 10 times, while the wanted result would be ('Lightning Charging Cable', 'iPhone') sold 1015 times.
@AmineBellahsen AmineBellahsen changed the title Correcting the Question 4. Corrected the Question 4. Dec 6, 2020
keivanipchihagh added a commit to keivanipchihagh/Pandas-Data-Science-Tasks that referenced this pull request Apr 6, 2021
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

Successfully merging this pull request may close these issues.

1 participant