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

Fix: Exercise_with_Solutions.ipynb, a slight fix at the step 16 [Getting and knowing your data] #162

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

Conversation

AmiraliToori
Copy link

Step 16:

we could not get the mean from all of the columns in order_group (some of them are string), so we need to select column 'revenue' first and then get the mean from them.

image
image

at step 16, change a syntax which leads to an error:
order_group.mean()['revenue'] is incorrect.
we could not get the mean from all of the columns in order_group (some of them are string), so we need to select column 'revenue', which we just right created, the correct syntax is:
order_group['revenue'].mean()
@AmiraliToori AmiraliToori changed the title Fix: Exercise_with_Solutions.ipynb, a slight fix at the step 16[Section 0: Getting and knowing your data] Fix: Exercise_with_Solutions.ipynb, a slight fix at the step 16 [Getting and knowing your data] Jul 2, 2024
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.

None yet

1 participant