Summary
Quite a long chapter! Isn't it? But, this chapter will form the core of anything you learn and implement in data-science. Let us wrap-up the chapter by summarizing the key takeaways from the chapter:
- Data can be sub-setted in a variety of ways: by selecting a column, selecting few rows, selecting a combination of rows and columns; using
.ix
method and[ ]
method, and creating new columns. - Random numbers can be generated in a number of ways. There are many methods like
randint()
,raandarrange()
in therandom
library ofnumpy
. There are also methods likeshuffle
andchoice
to randomly select an element out of a list.Randn()
anduniform()
are used to generate random numbers following normal and uniform probability distributions. Random numbers ...
Get Python: Data Analytics and Visualization now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.