scipy.pdf - The SciPy Stack Data Analytics in Python 1/7...

This preview shows page 1 - 4 out of 7 pages.

The SciPy Stack Data Analytics in Python 1 / 7
Image of page 1

Subscribe to view the full document.

The SciPy Stack SciPy is a Python-based ecosystem of libraries and tools for scientific computing and data analytics I iPython I Jupyter notebooks I Numpy I Pandas I Matplotlib iPython is the primary way of interacting with the SciPy stack – whether through the shell or a Jupyter notebook. 2 / 7
Image of page 2
iPython Two modes: I Interactive shell I Replacement for python REPL I Jupyter notebook I Interactive web-based documents mixing text, executable code, graphics Before we proceed, make sure your computer is ready (OS shell): $ conda update conda $ conda update python ipython jupyter numpy pandas matplotlib 3 / 7
Image of page 3

Subscribe to view the full document.

A Taste of Data Analytics in iPython Shell In [1]: cd analytics/ /home/chris/vcs/github.com/cs2316/cs2316.github.io/code/analytics In [3]: exam1grades = np.loadtxt(’exam1grades.txt’) In [4]: import matplotlib.pyplot as plt In [5]: %matplotlib qt5 In [6]: plt.hist(exam1grades) Out[6]: (array([ 2., 6., 8., 14., 23., 22., 31., 17., 4., 8.]), array([ 31. , 38.3, 45.6, 52.9, 60.2, 67.5, 74.8, 82.1, 89.4, 96.7, 104. ]), <a list of 10 Patch objects>) 4 / 7
Image of page 4
You've reached the end of this preview.
  • Spring '12
  • summet

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern