-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
Tiny error in Episode 2 #1008
Comments
If we're talking about lists The way the episode introduces loading existing data from a file seems to me the course is a data science first approach to teaching Python, so it doesn't seem motivating that it's possible you can load an array with nothing. I personally think this issue or omission of detail is the result of not introducing fundamental data types (eg lists) before touching on numpy arrays |
Well, I would consider it quite probable actually that sooner or later you encounter an empty array, e.g. some masking operation was always Maybe one could just omit the explicit count, e.g. "[...] contains one or more elements of the same type." --> "[...] contains elements of the same type." Variations of this could include a further comment in parenthesis or the like. This would be formally correct and focuses even stronger on the actual statement, i.e. that it's the same type. |
Hi everybody,
I just read through the lesson material in Episode 2 and found that the "Data Type" box states that "A Numpy array contains one or more elements of the same type." That isn't technically true. It can contain zero or more elements. Is there a very good (maybe pedagogical) reason for keeping that way? Something I overlooked? Otherwise, I would be strongly opposed to having false statements in the lesson and propose a change!
Best,
Julian
The text was updated successfully, but these errors were encountered: