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

Proportion of Students is Wrong #3

Open
theeugenekim opened this issue May 2, 2021 · 0 comments
Open

Proportion of Students is Wrong #3

theeugenekim opened this issue May 2, 2021 · 0 comments

Comments

@theeugenekim
Copy link

theeugenekim commented May 2, 2021

Hi, loving this repo by the way! Thank you.

I saw based on the question, I believe your script here is not taking the proportion.

image

It should be:

df['Elite'] = np.where((df.Top10perc/df.Enroll) > .50, 1, 0)

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

1 participant