-
Notifications
You must be signed in to change notification settings - Fork 25
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
Issues with Lecture 11 code #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TROLLEY['education_level'] = TROLLEY.edu.map(EDUCUATION_MAP)
TROLLEY['education'] = TROLLEY.education_level.map(EDUCUATION_MAP_R)
These two lines of code give all "nas"
im using python 3.12.4 with the pymc kernel in VS code
This code also does not work
EDUCATION_LEVEL_ID, EDUCATION_LEVEL = pd.factorize(TROLLEY.education_level, sort=True)
EDUCATION_LEVEL = [EDUCUATION_MAP_R[e] for e in EDUCATION_LEVEL]
N_EDUCATION_LEVELS = len(EDUCATION_LEVEL)
The text was updated successfully, but these errors were encountered: