Python Tutorial : Hello Python!
Key Takeaways
This video tutorial introduces Python programming language, its history, and its applications in data science, with a focus on Python 3, using tools such as IPython and DataCamp's interactive exercise interface.
Full Transcript
hi my name is Hugo and I'll be your host for introduction to Python for data science I'm a data scientist and educator at data camp and host of the data frame podcast which you must check out in this course you will learn Python for data science through video lessons like this one and interactive exercises you get your own Python session where you can experiment and try to come up with the correct code to solve the instructions you're learning by doing while receiving customized and instant feedback on your work python was conceived by guido van rossum here you can see a photo of me with ghido what started as a hobby project soon became a general-purpose programming language nowadays you can use Python to build practically any piece of software but how did this happen well first of all python is open source it's free to use second it's very easy to build packages in Python which is code that you can share with other people to solve specific problems throughout time more and more of these packages specifically built for data science have been developed suppose you want to make some fancy visualizations of your company's sales there's a package for that or what about connecting to a database to analyze sensor measurements there's also a package for that people often refer to Python as the Swiss Army knife of programming languages as you can do almost anything with it in this course we'll start to build up your data science coding skills bit by bit so make sure to stick around to see how powerful the language can be currently there are two common versions of Python version 2.7 and 3.5 apart from some since tactical differences they are pretty similar but as support for version 2 will fade over time our courses focus on Python 3 to install python 3 on your own system follow the steps at this URL now that you're all eyes and ears for Python let's start experimenting I'll start with the Python shell a place where you can type Python code and immediately see the results in data camps exercise interface this shell is embedded here let's start off simple and use Python as a calculator let me type 4 plus 5 and hit enter python interprets what you typed and prints the result of your calculation 9 the Python shell that's used here is actually not the original one we're using ipython short for interactive Python which is some kind of juiced up version of regular Python that'll be useful later on ipython was created by Fernando Perez and is part of the broader Jupiter ecosystem apart from interactively working with Python you can also have Python run so called Python scripts these Python scripts are simply text files with the extension dot pi it's basically a list of Python commands that are executed almost as if you are typing the commands in the shell yourself line by line let's put the command from before in a script now which can be found here in data camps interface the next step is executing the script by clicking submit answer if you execute this script in the data camp interface there's nothing in the output pane that's because you have to explicitly use print inside scripts if you want to generate output during execution let's wrap our previous calculation in a print call and rerun the script this time the same output as before is generated great putting your code in Python scripts instead of manually retyping every step interactively will help you to keep structure and avoid retyping everything over and over again if you want to make a change you simply make the change in the script and rerun the entire thing now that you've got an idea about different ways of working with python i suggest you head over to the exercises use the ipython shell for experimentation and use the python script editor to code the actual answer if you click Submit answer your script will be executed and check for correctness get coding and don't forget to have fun
Original Description
Want to learn more? Take the full course at https://learn.datacamp.com/courses/intro-to-python-for-data-science at your own pace. More than a video, you'll learn hands-on coding & quickly apply skills to your daily work.
---
Hi, my name is Hugo and I'll be your host for Introduction to Python for Data Science.
I'm a data scientist and educator at DataCamp and host of the DataFramed podcast, which you must check out.
In this course, you will learn Python for Data Science through video lessons, like this one, and interactive exercises. You get your own Python session where you can experiment and try to come up with the correct code to solve the instructions. You're learning by doing, while receiving customized and instant feedback on your work.
Python was conceived by Guido Van Rossum. Here, you can see a photo of me with Guido. What started as a hobby project, soon became a general-purpose programming language: nowadays, you can use Python to build practically any piece of software. But how did this happen? Well, first of all, Python is open source. It's free to use. Second, it's very easy to build packages in Python, which is code that you can share with other people to solve specific problems. Throughout time, more and more of these packages specifically built for data science have been developed. Suppose you want to make some fancy visualizations of your company's sales. There's a package for that. Or what about connecting to a database to analyze sensor measurements? There's also a package for that. People often refer to python as the swiss army knife of programming languages as you can do almost anything with it. In this course, we'll start to build up your data science coding skills bit by bit, so make sure to stick around to see how powerful the language can be.
Currently, there are two common versions of Python, version 2-point-7 and 3-point-5 and later. Apart from some syntactical differences, they are pretty similar, but as support for version 2 will
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DataCamp · DataCamp · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SQL Server Tutorial: Date manipulation
DataCamp
R Tutorial: Intermediate Interactive Data Visualization with plotly in R
DataCamp
R Tutorial: Adding aesthetics to represent a variable
DataCamp
R Tutorial: Moving Beyond Simple Interactivity
DataCamp
Python Tutorial: Why use ML for marketing? Strategies and use cases
DataCamp
Python Tutorial: Preparation for modeling
DataCamp
Python Tutorial: Machine Learning modeling steps
DataCamp
R Tutorial: The prior model
DataCamp
R Tutorial: Data & the likelihood
DataCamp
R Tutorial: The posterior model
DataCamp
R Tutorial: An Introduction to plotly
DataCamp
R Tutorial: Plotting a single variable
DataCamp
R Tutorial: Bivariate graphics
DataCamp
Python Tutorial: Customer Segmentation in Python
DataCamp
Python Tutorial: Time cohorts
DataCamp
Python Tutorial: Calculate cohort metrics
DataCamp
Python Tutorial: Cohort analysis visualization
DataCamp
R Tutorial: Building Dashboards with flexdashboard
DataCamp
R Tutorial: Anatomy of a flexdashboard
DataCamp
R Tutorial: Layout basics
DataCamp
R Tutorial: Advanced layouts
DataCamp
Python Tutorial: Time Series Analysis in Python
DataCamp
Python Tutorial: Correlation of Two Time Series
DataCamp
Python Tutorial: Simple Linear Regressions
DataCamp
Python Tutorial: Autocorrelation
DataCamp
R Tutorial: The gapminder dataset
DataCamp
R Tutorial: The filter verb
DataCamp
R Tutorial: The arrange verb
DataCamp
R Tutorial: The mutate verb
DataCamp
R Tutorial: What is cluster analysis?
DataCamp
R Tutorial: Distance between two observations
DataCamp
R Tutorial: The importance of scale
DataCamp
R Tutorial: Measuring distance for categorical data
DataCamp
Python Tutorial: Plotting multiple graphs
DataCamp
Python Tutorial: Customizing axes
DataCamp
Python Tutorial: Legends, annotations, & styles
DataCamp
Python Tutorial: Introduction to iterators
DataCamp
Python Tutorial: Playing with iterators
DataCamp
Python Tutorial: Using iterators to load large files into memory
DataCamp
SQL Tutorial: Introduction to Relational Databases in SQL
DataCamp
SQL Tutorial: Tables: At the core of every database
DataCamp
SQL Tutorial: Update your database as the structure changes
DataCamp
Python Tutorial: Classification-Tree Learning
DataCamp
Python Tutorial: Decision-Tree for Classification
DataCamp
Python Tutorial: Decision-Tree for Regression
DataCamp
Python Tutorial: Census Subject Tables
DataCamp
Python Tutorial: Census Geography
DataCamp
Python Tutorial: Using the Census API
DataCamp
R Tutorial: A/B Testing in R
DataCamp
R Tutorial: Baseline Conversion Rates
DataCamp
R Tutorial: Designing an Experiment - Power Analysis
DataCamp
R Tutorial: Introduction to qualitative data
DataCamp
R Tutorial: Understanding your qualitative variables
DataCamp
R Tutorial: Making Better Plots
DataCamp
SQL Tutorial: OLTP and OLAP
DataCamp
SQL Tutorial: Storing data
DataCamp
SQL Tutorial: Database design
DataCamp
Python Tutorial: Introduction to spaCy
DataCamp
Python Tutorial: Statistical Models
DataCamp
Python Tutorial: Rule-based Matching
DataCamp
More on: Python for Data
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Applying Scalability in Backend (CodeBuddy)
Medium · LLM
Why Every Backend Developer Should Learn Nginx Before Going to Production
Medium · DevOps
Connecting Frontend to Backend: A Backend Engineer’s Reality Check
Medium · Programming
Build Secure Authentication System Using Access and Refresh Tokens
Medium · Python
🎓
Tutor Explanation
DeepCamp AI