Hi @ashleychoy could you also screenshot the learn part? I think this is part of the Data Science path which I don’t have access to (I’m under the Dataquest COVID-19 scholarship so I only have access to the Data Analyst path). Also not very sure what they are asking for. Could you also screenshot the data in the csv file?
Perhaps they are asking for you for the individual sum by race and gender so you should have two values, (i.e. race_sum and gender_sum) after using the .sum() dataframe method on the two columns… I’m not too sure about this since I don’t have the context of the question.
Hi @ashleychoy: I think since the statement is not very clear its up to your own interpretation on how you want to do it. I have attached 2 examples of code I came across when looking at the project on Github and both of them seem logical to me although they are two different approaches. I have attached links below:
(Although I think the one in the first link is way more efficient as he made use of one for loop instead of summing up the total for each race 1 by 1)
Hi @hshf1992: may I know which file you are referring to and which editor you use? If it is VSCode or any others with support for Python (i.e. PyCharm etc) and you are trying to view a jupyter notebook file (.ipynb), you will need to install the corresponding jupyter notebook extension. You can also try to install jupyter on miniconda or Anaconda locally.
alright thanks but i tried it didn’t work but when i reload the page it worked because i tried touch and many other command it was let me create it but i couldn’t open or read it but reloading page the Solve the Answer. thanks anyway.