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

Episode 2 "Analyzing Patient Data": displayed a different output after assigning to a variable #969

Open
amirayuyue opened this issue Jan 4, 2022 · 0 comments

Comments

@amirayuyue
Copy link

amirayuyue commented Jan 4, 2022

In "Analyzing Patient Data" episode, when calling numpy.loadtxt function, the output displayed as array([[..]]). However, once saved the data to memory and assigned it to a variable data, the output showed without array only [[..]]. It should be showing the exact same output, and I am also trying it myself and got the same output. I am wondering whether this is a python version variation, or it was just a typo?

A minor suggestions for this episode, before using the function numpy.loadtxt to load the file "inflammation-01.csv", it would be better to put a link for file downloading or file opening in a different web tab, so that learners might be easier to follow as the function has the delimiter=',' as a parameters, moreover, it would be beneficial for learners to practice by themselves if the file is available along the progress when the function is introduced.

Thank you!
Yue Yu

@amirayuyue amirayuyue changed the title Episode 2 "Analyzing Patient Data" Episode 2 "Analyzing Patient Data": displayed a different output after assigning to a variable Jan 4, 2022
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