jttoivon / data-analysis-with-python-spring-2019

Sources of materials for the course Data Analysis with Python - Spring 2019. Newer course instance available here https://csmastersuh.github.io/data_analysis_with_python_2020/
https://jttoivon.github.io/data-analysis-with-python-spring-2019/
4 stars 18 forks source link

Made an example of fancy indexing clearer #1

Closed luupanu closed 5 years ago

luupanu commented 5 years ago

Made an example of fancy indexing clearer by having an array with unique and unambigious values instead of an array with random and possibly repeating values.

Motivation: At least for me it was a bit difficult to read the examples with a randomly generated array that in the production environment contains for example six different 3's before understanding exactly how indexing higher dimensional arrays works.

jttoivon commented 5 years ago

Thanks!