2.PYTHON-Intro.pdf - Licensed for personal use only for...

This preview shows page 1 - 8 out of 81 pages.

Python Intro Intro Data Types Conditionals Arrays Matrix & Arrays Strings Factors Lists Packages & Functions Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 1

Subscribe to view the full document.

Lesson Objectives u Learn Python language basics Copyright © 2017 Elephant Scale. All rights reserved. 2 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 2
Python Intro è Intro Data Types Conditionals Arrays Matrix & Arrays Strings Packages Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 3

Subscribe to view the full document.

About Python u Python is a general-purpose, object-oriented, dynamic programming language. u Python is also language & environment for data science computing and graphics u Open source u Rich ecosystem (lots of libraries) u Great for modeling, machine learning, ad-hoc analytics u Used by developers, but also popular among scientists and now data scientists. Copyright © 2017 Elephant Scale. All rights reserved. 4 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 4
Why Python u Comprehensive – Pretty much any analysis can be done in Python u State-of-the-art graphics capabilities – Because picture IS worth a thousands words u Designed for interactive analysis – Most analysis is done this way – No time consuming edit / compile / run cycle – can support scripting too u Open source – Commercial packages costs thousands Copyright © 2017 Elephant Scale. All rights reserved. 5 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 5

Subscribe to view the full document.

Why Python u Python can import from variety of formats (csv, excel, db, …) u Python is extensible – Thousands of libraries in PyPi (open source) u Python usually gets ‘bleeding edge’ routines before other commercial packages !! – Power of open source u Free IDEs (Spyder, Pycharm) are available – Easy to use / program u Runs on multiple platforms (Mac, Windows, Linux) Copyright © 2017 Elephant Scale. All rights reserved. 6 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20 Licensed for personal use only for Sriram Anne <[email protected]> from Python @ Macy's 2018-02-20 @ 2018-02-20
Image of page 6
Python History u Created By Guido Von Rossom in 1991 u Designed as an alternative to ”scripting languages” like PERL – Fully OOP (Object Oriented Programming) u Dynamically Typed Language – “Duck Typing” – if it walks like a duck..
Image of page 7

Subscribe to view the full document.

Image of page 8

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

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