Python is an interpreted programming language created by Guido van Rossum in 1991. It has an elegant syntax, large standard library, and is used widely for data science, machine learning, web development, and more. Key Python libraries for data analysis include NumPy, pandas, and matplotlib. Pandas allows importing and cleaning data from files like CSVs, and matplotlib can be used to visualize and present analyzed data. For example, a program can use pandas to read baby name data from a CSV, find the most popular name with the highest birth count, and plot the results to clearly present the findings.
Youtube Link: https://youtu.be/woVJ4N5nl_s
** Python Certification Training: https://www.edureka.co/data-science-python-certification-course **
This Edureka PPT on 'Python Basics' will help you understand what exactly makes Python special and covers all the basics of Python programming along with examples.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Python programming | Fundamentals of Python programming KrishnaMildain
Basic Fundamentals of Python Programming.
What is Python, History of python, Advantages, Disadvantages, feature of python, scope, and many more.
Data Structure using Python, Object Oriented Programming using
YouTube Link:https://youtu.be/CVv8zhYEjUE
Edureka Python Certification Training: https://www.edureka.co/data-science-python-certification-course
This Edureka PPT on 'Python Programming' will help you learn Python programming basics with the help of interesting hands-on implementations.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Youtube Link: https://youtu.be/woVJ4N5nl_s
** Python Certification Training: https://www.edureka.co/data-science-python-certification-course **
This Edureka PPT on 'Python Basics' will help you understand what exactly makes Python special and covers all the basics of Python programming along with examples.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
Python programming | Fundamentals of Python programming KrishnaMildain
Basic Fundamentals of Python Programming.
What is Python, History of python, Advantages, Disadvantages, feature of python, scope, and many more.
Data Structure using Python, Object Oriented Programming using
YouTube Link:https://youtu.be/CVv8zhYEjUE
Edureka Python Certification Training: https://www.edureka.co/data-science-python-certification-course
This Edureka PPT on 'Python Programming' will help you learn Python programming basics with the help of interesting hands-on implementations.
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Castbox: https://castbox.fm/networks/505?country=in
This Edureka Python Programming tutorial will help you learn python and understand the various basics of Python programming with examples in detail. Below are the topics covered in this tutorial:
1. Python Installation
2. Python Variables
3. Data types in Python
4. Operators in Python
5. Conditional Statements
6. Loops in Python
7. Functions in Python
8. Classes and Objects
This presentation educates you about Python and the reason for learning python, Key advantages of learning Python, Characteristics of Python, Hello World using Python syntax and Applications of Python.
For more topics stay tuned with Learnbay.
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Edureka!
( Python Training : https://www.edureka.co/python )
This Edureka “Python Programming" introduces you to Python by giving you enough reasons to learn it. It will then take you to its various fundamentals along with a practical demonstrating the various libraries such as Numpy, Pandas, Matplotlib and Seaborn. This video helps you to learn the below topics:
1. Why should you go for Python?
2. Introduction to Python Programming Language
3. How to work with Jupyter?
4. Python Programming Fundamentals: Operators & Data Types
5. Libraries: Numpy, Pandas, Matplotlib, Seaborn
This presentation is a great resource for zero-based Python programmers who wants to learn Python 3. This course includes brief history of Python and familiarity of its basic syntax.
** Python Certification Training: https://www.edureka.co/python **
This Edureka tutorial on "Python Tutorial for Beginners" (Python Blog Series: https://goo.gl/nKQJHQ) covers all the basics of Python. It includes python programming examples, so try it yourself and mention in the comments section if you have any doubts. Following are the topics included in this PPT:
Introduction to Python
Reasons to choose Python
Installing and running Python
Development Environments
Basics of Python Programming
Starting with code
Python Operators
Python Lists
Python Tuples
Python Sets
Python Dictionaries
Conditional Statements
Looping in Python
Python Functions
Python Arrays
Classes and Objects (OOP)
Conclusion
Follow us to never miss an update in the future.
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Why is Python emerging technology?
Python with DataSciences and Machine Learning is future.
Python can also be used with Electronics.
Python as Scripting Language
Python Foundation – A programmer's introduction to Python concepts & styleKevlin Henney
This is a two-day course in Python programming aimed at professional programmers. The course material provided here is intended to be used by teachers of the language, but individual learners might find some of this useful as well.
The course assume the students already know some Python, but that they feel a need to establish a solid understanding of the language to further develop their skills.
The course is released under Creative Commons Attribution 4.0. Its primary location (along with some sample solutions and the original PowerPoint) is at https://github.com/JonJagger/two-day-courses/tree/master/pf
This Edureka Python tutorial is a part of Python Course (Python Tutorial Blog: https://goo.gl/wd28Zr) and will help you in understanding what exactly is Python and its various applications. It also explains few Python code basics like data types, operators etc. Below are the topics covered in this tutorial:
1. Introduction to Python
2. Various Python Features
3. Python Applications
4. Python for Web Scraping
5. Python for Testing
6. Python for Web Development
7. Python for Data Analysis
Python is a widely-used and powerful computer programming language that has helped system administrators manage computer networks and problem solve computer systems for decades. Python has also built some popular applications like BitTorrent, Blender, Calibre, Dropbox, and much more. Going further, the “Pi” in Raspberry Pi stands for Python, so learning Python will instill more confidence when working with Raspberry Pi projects. Python is usually the first programming language people learn primarily because it is easy to learn and provides a solid foundation to learn other computer programming languages. In this webinar,
• Learn what Python is and what it is capable of doing.
• Install Python’s IDE for Windows and work in the Python shell.
• Use calculations, variables, strings, lists, and if statements.
• Discover Python’s built-in functions and understand modules.
• Create simple programs to build on later.
The recording is available at https://youtu.be/ThcWmJFf-ho.
Introduction to python -easiest way to understand python for beginners
What is Python…?
Differences between programming and scripting language
Programming Paradigms
History of Python
Scope of Python
Why do people use Python?
Installing Python
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Edureka!
This Edureka "Python Loops" tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you in understanding different types of loops used in Python. You will be learning how to implement all the loops in python practically. Below are the topics covered in this tutorial:
1) Why to use loops?
2) What are loops?
3) Types of loops in Python: While, For, Nested
4) Demo on each Python loop
Data Science With Python | Python For Data Science | Python Data Science Cour...Simplilearn
This Data Science with Python presentation will help you understand what is Data Science, basics of Python for data analysis, why learn Python, how to install Python, Python libraries for data analysis, exploratory analysis using Pandas, introduction to series and dataframe, loan prediction problem, data wrangling using Pandas, building a predictive model using Scikit-Learn and implementing logistic regression model using Python. The aim of this video is to provide a comprehensive knowledge to beginners who are new to Python for data analysis. This video provides a comprehensive overview of basic concepts that you need to learn to use Python for data analysis. Now, let us understand how Python is used in Data Science for data analysis.
This Data Science with Python presentation will cover the following topics:
1. What is Data Science?
2. Basics of Python for data analysis
- Why learn Python?
- How to install Python?
3. Python libraries for data analysis
4. Exploratory analysis using Pandas
- Introduction to series and dataframe
- Loan prediction problem
5. Data wrangling using Pandas
6. Building a predictive model using Scikit-learn
- Logistic regression
This Data Science with Python course will establish your mastery of data science and analytics techniques using Python. With this Python for Data Science Course, you'll learn the essential concepts of Python programming and become an expert in data analytics, machine learning, data visualization, web scraping and natural language processing. Python is a required skill for many data science positions, so jumpstart your career with this interactive, hands-on course.
Why learn Data Science?
Data Scientists are being deployed in all kinds of industries, creating a huge demand for skilled professionals. Data scientist is the pinnacle rank in an analytics organization. Glassdoor has ranked data scientist first in the 25 Best Jobs for 2016, and good data scientists are scarce and in great demand. As a data you will be required to understand the business problem, design the analysis, collect and format the required data, apply algorithms or techniques using the correct tools, and finally make recommendations backed by data.
You can gain in-depth knowledge of Data Science by taking our Data Science with python certification training course. With Simplilearn Data Science certification training course, you will prepare for a career as a Data Scientist as you master all the concepts and techniques.
Learn more at: https://www.simplilearn.com
This Edureka Python Programming tutorial will help you learn python and understand the various basics of Python programming with examples in detail. Below are the topics covered in this tutorial:
1. Python Installation
2. Python Variables
3. Data types in Python
4. Operators in Python
5. Conditional Statements
6. Loops in Python
7. Functions in Python
8. Classes and Objects
This presentation educates you about Python and the reason for learning python, Key advantages of learning Python, Characteristics of Python, Hello World using Python syntax and Applications of Python.
For more topics stay tuned with Learnbay.
Learn Python Programming | Python Programming - Step by Step | Python for Beg...Edureka!
( Python Training : https://www.edureka.co/python )
This Edureka “Python Programming" introduces you to Python by giving you enough reasons to learn it. It will then take you to its various fundamentals along with a practical demonstrating the various libraries such as Numpy, Pandas, Matplotlib and Seaborn. This video helps you to learn the below topics:
1. Why should you go for Python?
2. Introduction to Python Programming Language
3. How to work with Jupyter?
4. Python Programming Fundamentals: Operators & Data Types
5. Libraries: Numpy, Pandas, Matplotlib, Seaborn
This presentation is a great resource for zero-based Python programmers who wants to learn Python 3. This course includes brief history of Python and familiarity of its basic syntax.
** Python Certification Training: https://www.edureka.co/python **
This Edureka tutorial on "Python Tutorial for Beginners" (Python Blog Series: https://goo.gl/nKQJHQ) covers all the basics of Python. It includes python programming examples, so try it yourself and mention in the comments section if you have any doubts. Following are the topics included in this PPT:
Introduction to Python
Reasons to choose Python
Installing and running Python
Development Environments
Basics of Python Programming
Starting with code
Python Operators
Python Lists
Python Tuples
Python Sets
Python Dictionaries
Conditional Statements
Looping in Python
Python Functions
Python Arrays
Classes and Objects (OOP)
Conclusion
Follow us to never miss an update in the future.
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Why is Python emerging technology?
Python with DataSciences and Machine Learning is future.
Python can also be used with Electronics.
Python as Scripting Language
Python Foundation – A programmer's introduction to Python concepts & styleKevlin Henney
This is a two-day course in Python programming aimed at professional programmers. The course material provided here is intended to be used by teachers of the language, but individual learners might find some of this useful as well.
The course assume the students already know some Python, but that they feel a need to establish a solid understanding of the language to further develop their skills.
The course is released under Creative Commons Attribution 4.0. Its primary location (along with some sample solutions and the original PowerPoint) is at https://github.com/JonJagger/two-day-courses/tree/master/pf
This Edureka Python tutorial is a part of Python Course (Python Tutorial Blog: https://goo.gl/wd28Zr) and will help you in understanding what exactly is Python and its various applications. It also explains few Python code basics like data types, operators etc. Below are the topics covered in this tutorial:
1. Introduction to Python
2. Various Python Features
3. Python Applications
4. Python for Web Scraping
5. Python for Testing
6. Python for Web Development
7. Python for Data Analysis
Python is a widely-used and powerful computer programming language that has helped system administrators manage computer networks and problem solve computer systems for decades. Python has also built some popular applications like BitTorrent, Blender, Calibre, Dropbox, and much more. Going further, the “Pi” in Raspberry Pi stands for Python, so learning Python will instill more confidence when working with Raspberry Pi projects. Python is usually the first programming language people learn primarily because it is easy to learn and provides a solid foundation to learn other computer programming languages. In this webinar,
• Learn what Python is and what it is capable of doing.
• Install Python’s IDE for Windows and work in the Python shell.
• Use calculations, variables, strings, lists, and if statements.
• Discover Python’s built-in functions and understand modules.
• Create simple programs to build on later.
The recording is available at https://youtu.be/ThcWmJFf-ho.
Introduction to python -easiest way to understand python for beginners
What is Python…?
Differences between programming and scripting language
Programming Paradigms
History of Python
Scope of Python
Why do people use Python?
Installing Python
Python Loops Tutorial | Python For Loop | While Loop Python | Python Training...Edureka!
This Edureka "Python Loops" tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you in understanding different types of loops used in Python. You will be learning how to implement all the loops in python practically. Below are the topics covered in this tutorial:
1) Why to use loops?
2) What are loops?
3) Types of loops in Python: While, For, Nested
4) Demo on each Python loop
Data Science With Python | Python For Data Science | Python Data Science Cour...Simplilearn
This Data Science with Python presentation will help you understand what is Data Science, basics of Python for data analysis, why learn Python, how to install Python, Python libraries for data analysis, exploratory analysis using Pandas, introduction to series and dataframe, loan prediction problem, data wrangling using Pandas, building a predictive model using Scikit-Learn and implementing logistic regression model using Python. The aim of this video is to provide a comprehensive knowledge to beginners who are new to Python for data analysis. This video provides a comprehensive overview of basic concepts that you need to learn to use Python for data analysis. Now, let us understand how Python is used in Data Science for data analysis.
This Data Science with Python presentation will cover the following topics:
1. What is Data Science?
2. Basics of Python for data analysis
- Why learn Python?
- How to install Python?
3. Python libraries for data analysis
4. Exploratory analysis using Pandas
- Introduction to series and dataframe
- Loan prediction problem
5. Data wrangling using Pandas
6. Building a predictive model using Scikit-learn
- Logistic regression
This Data Science with Python course will establish your mastery of data science and analytics techniques using Python. With this Python for Data Science Course, you'll learn the essential concepts of Python programming and become an expert in data analytics, machine learning, data visualization, web scraping and natural language processing. Python is a required skill for many data science positions, so jumpstart your career with this interactive, hands-on course.
Why learn Data Science?
Data Scientists are being deployed in all kinds of industries, creating a huge demand for skilled professionals. Data scientist is the pinnacle rank in an analytics organization. Glassdoor has ranked data scientist first in the 25 Best Jobs for 2016, and good data scientists are scarce and in great demand. As a data you will be required to understand the business problem, design the analysis, collect and format the required data, apply algorithms or techniques using the correct tools, and finally make recommendations backed by data.
You can gain in-depth knowledge of Data Science by taking our Data Science with python certification training course. With Simplilearn Data Science certification training course, you will prepare for a career as a Data Scientist as you master all the concepts and techniques.
Learn more at: https://www.simplilearn.com
Massively Parallel Processing with Procedural Python (PyData London 2014)Ian Huston
The Python data ecosystem has grown beyond the confines of single machines to embrace scalability. Here we describe one of our approaches to scaling, which is already being used in production systems. The goal of in-database analytics is to bring the calculations to the data, reducing transport costs and I/O bottlenecks. Using PL/Python we can run parallel queries across terabytes of data using not only pure SQL but also familiar PyData packages such as scikit-learn and nltk. This approach can also be used with PL/R to make use of a wide variety of R packages. We look at examples on Postgres compatible systems such as the Greenplum Database and on Hadoop through Pivotal HAWQ. We will also introduce MADlib, Pivotal’s open source library for scalable in-database machine learning, which uses Python to glue SQL queries to low level C++ functions and is also usable through the PyMADlib package.
The Agenda for the Webinar:
1. Introduction to Python.
2. Python and Big Data.
3. Python and Data Science.
4. Key features of Python and their usage in Business Analytics.
5. Business Analytics with Python – Real world Use Cases.
Python has been one of the premier, flexible, and powerful open-source language that is easy to learn, easy to use, and has powerful libraries for data manipulation and analysis. It’s easy to learn simple syntax is very accessible to new programmers and is similar to Matlab, C/C++, Java, or Visual Basic. Python is general purpose and comparatively easy to learn with an increased adoption for analytical and quantitative computing. For over a decade, Python has been used in scientific computing and highly quantitative domains such as finance, oil and gas, physics, and signal processing.
Python is the choice llanguage for data analysis,
The aim of this slide is to provide a comprehensive learning path to people new to python for data analysis. This path provides a comprehensive overview of the steps you need to learn to use Python for data analysis.
https://www.insight-centre.org/content/research-toolbox-data-analysis-python-waternomics-case-study
This seminar aims to highlight the flexibility of Python as a useful programming language for everyday tasks in research. It is based on the experience of the presenter in the Waternomics project and research experiments. The overall goal is to share the experience of data access, manipulation, and visualization. The seminar will focus on following main topics and their relevant Python libraries: (1) The Python ecosystem for Data Science (2) Data access with pandas, RDFlib, requests, json (3) Data manipulation with numpy, scipy, statsmodels (4) Data visualization with matplotlib, seaborn, and bokeh (5) Tips and tricks (Jupyter server, pgfplots, latex, pyCharm) (6) Advanced libraries (scikt-learn, pyomo, NLTK) The seminar is expected to use the full slot of the Reading Group session, with opportunities for questions and discussion in between each topic.
Making NumPy-style and Pandas-style code faster and run in parallel. Continuum has been working on scaled versions of NumPy and Pandas for 4 years. This talk describes how Numba and Dask provide scaled Python today.
Webinar: Mastering Python - An Excellent tool for Web Scraping and Data Anal...Edureka!
The free webinar on Python titled "Mastering Python - An Excellent tool for Web Scraping and Data Analysis" was conducted by Edureka on 14th November 2014
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
2. What is Python? - Python is a programming language designed
by Guido van Rossum and was initially
released in 1991
- Named after the British comedy troupe,
Monty Python’s Flying Circus
- It is an interpreted language
- Its instructions are not directly executed by the
target machine, but read and executed by
some other program
- Code can be executed “on the fly”, but will use
more CPU time
- External libraries can enhance the capabilities
of Python
- Ex -- NumPy, iPython, pandas, matplotlib
3. Python Features
Elegant syntax
Easy to use language
Large standard library
Basic data types
Object-oriented programming with classes and
multiple inheritance
Free software
4. Python Version?
- Python 2 was started in 2000
- Python 2.7 was released in 2010
- Will lose support in 2020
- Python 3.0 was released in 2008
- More and more libraries are
starting to support Python 3.4
- Which to use?
- A lot more expansive support and
resources for Python 2
- Some Python 3 features are
backwards compatible
- BUT the future is looking towards
Python 3
5. Uses for Python
- Server automation, libraries for
webapps
- Game development
- Animation
- Scientific computing and Data
Science
- Visualizing and analyzing data
6. How to Install Python
Can download it from project site and install
libraries individually
(https://www.python.org/downloads/))
Comes pre-installed with Mac
Download Python with Anaconda distribution
(https://www.anaconda.com/download/)
Development Environment
- Terminal
- IDLE editor
- Jupyter Notebook (previously called
iPython Notebook)
- try.jupyter.org
7. Jupyter Notebook
The browser hosts it, but it’s pulling data
from the directory you’re running on your
computer
Notebooks are downloadable as .ipynb files
Cell → where you run the code
- also possible to write markdown
- # Comments in Python
Kernel is what your cell is running, the code
that’s running
Shortcuts
Shift + Enter → runs code
Tab → for autocomplete methods
Shift + Tab → expanded view of
help popups
8. What is Data Science? Data-driven science
Interdisciplinary field about scientific method to
extract knowledge and insights from data in various
forms
Includes machine learning, data mining, analytics,
visualization, scraping, artificial intelligence etc
Source: https://datajobs.com/what-is-data-science
9. Data Science Concepts and Process
Data science relies on statistical analysis, BUT it
is more than statistical analysis
Emphasis on project definition and collaboration
Data Science Project Lifecycle
Project goal -- why are we doing this?
Data collection, quality, sufficiency, and
management
Exploratory analysis
Model evaluation and sufficiency
Presentation to stakeholders, project
documentation, and reproducibility
11. Intro to the
Python
Language
For Data Analysis:
- Get by with basic, key concepts
- Become familiar with libraries
- Use the technologies to your advantage
12. Python vs
Java
Java
- Static typing →
everything must be
explicitly declared
- Verbose → so many
words!
- Not compact
Python
- Dynamic typing → an
assignment statement
binds a name to an
object, the object can
be of any type, can be
later assigned to an
object of a different
type
- Concise → straight to
the point!
- Compact → “It can all
be apprehended at
once in one’s head”
13. Differences between Python and Java
Java Python
Source: https://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/
14. Differences between Python and Java
Java Python
Source: https://pythonconquerstheuniverse.wordpress.com/2009/10/03/python-java-a-side-by-side-comparison/
18. String Manipulation
Strings are sequences and can be indexed
Grab the length of a string using len()
Use : to perform slicing
Strings are immutable →
once created, they cannot
be changed or replaced,
but you can concatenate
19. Lists
Lists can work similarly to strings -- they use the
len() function and square brackets to access data
Source: https://developers.google.com/edu/python/lists
Assignment with = will not make a copy, it
will make the 2 variables point to the same
same list
20. Tuples
- Sequence of immutable Python objects, like lists
- Tuples cannot be changed (immutable), but lists can
- Fixed size, whereas lists are dynamic
- You cannot remove elements from a tuple (no remove or pop method)
- Faster than lists -- if you ever need to define a constant set of values to iterate through, tuples are
preferable
Source: https://www.tutorialspoint.com/python/python_tuples.htm
21. Dictionaries
- Associative array, also known as hash
- Any key in the dictionary is associated or mapped to a value
- Unordered key-value-pairs
23. SciKit-Learn
Machine learning module built on top of SciPy
Started in 2007 by David Cournapeau as a Google
Summer of Code project
Currently maintained by volunteers
Source: https://github.com/scikit-learn/scikit-learn,
http://scikit-learn.org/stable/index.html
1. Install Dependency using Python Package Manager
a. Package that code depends on
MAC: pip install -U scikit-learn
WINDOWS: python -m pip install -U pip
Or with conda:
conda install scikit-learn
25. Breaking it Down
2. Import Dependency and
sub-module → tree (to build a decision
tree)
3. Create data sets in lists (list of lists)
4. Store decision tree classifier
initialize using fit method
5. Print to terminal
26. pandas
Popular python package for data analysis &
manipulation
Well suited for ordered and unordered data,
tabular data, arbitrary matrix data,
observational/statistical data
- Python package pro
- Install using conda or pip
pip install pandas
Source: https://github.com/pandas-dev/pandas
28. Using Pandas and matplotlib for
Data Analysis
1. Environment Setup
2. Create data set
3. Get data → read it from text
4. Prepare data → making sure data is clean
5. Analyze data
6. Present data
Source:
http://nbviewer.jupyter.org/urls/bitbucket.org/hrojas/learn-pandas/raw/master/lessons/01%20-%20Lesson.ipynb
https://www.babycenter.com/top-baby-names-2016.htm
https://www.ssa.gov/oact/babynames/index.html
32. Create Data Set → Create .csv
Make a .csv out of the DataFrame
Location sets where you want the .csv to be saved
- Prefacing the location string with r escapes the string if you output
the file to a different directory
33. Get Data → Read .csv
read_csv pulls in the data from the
csv into the console
- Reads the first entry as the header
35. Prepare Data → Make sure it’s clean
- Births are type int64
meaning, no floats or
alpha numeric
characters will be
present
36. Analyze Data
- Find the most popular baby name with highest birth rate
- Sort the DataFrame and select the top row
- OR use the max() attribute to find the max value
37. Present Data → Plot the DataFrame
- Plot the Births column and label the graph to show the highest point on the
graph → with the table, the end user can navigate the data clearly
- plot() is a pandas attribute that lets you plot the data in the dataframe
38.
39.
40. References,
Resources and
Further Study
Siraj Raval - Learn Python for Data Science (short, bite sized):
https://www.youtube.com/playlist?list=PL2-dafEMk2A6QKz1m
rk1uIGfHkC1zZ6UU
Introduction to Data Science in Python (U of M):
https://www.coursera.org/learn/python-data-analysis
Python and Data Sciences Courses:
https://www.kaggle.com/wiki/Tutorials
Step by Step Approach…:
http://bigdata-madesimple.com/step-by-step-approach-to-per
form-data-analysis-using-python/