<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Intro to Python for Data Analysis
The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death.
<footer><b>Guido van Rossum (creator of Python)</b></footer>
<h3 style="text-align
Step1:  So, what are these 'programming components' you speak of?
Variables // First, to learn, we have to remember
Step2:  Operations // Second, we have to put two and two togther
Step3:  Datatypes // Third, we have to know what we're dealing with
int / float
Step4:  str
Step5:  list
Step6:  bool
Step7:  Conditionals // Fourth, we need to know right from wrong
Step8:  Functions // Lastly, we stop sweating the small stuff
How do we build on top of the basics?
<ASSISTANT_TASK:>
Python Code:
import seaborn as sns
%matplotlib inline
sns.set()
flights_long = sns.load_dataset("flights")
flights = flights_long.pivot("month", "year", "passengers")
flights = flights.reindex(flights_long.iloc[:12].month)
sns.heatmap(flights, annot=True, fmt="d");
Explanation: Intro to Python for Data Analysis
The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death.
<footer><b>Guido van Rossum (creator of Python)</b></footer>
<h3 style="text-align:center"><a href="http://nbviewer.ipython.org/gist/tijptjik/cf04217e30ba3b5c016c">Online Version</a><h3>
## Your journey starts with a little leg work 
Python comes with a rich ecosystem of 'modules' that extend the core functionality provided by the language itself. Python Anaconda is a collection of the most popular modules used for scientific computing. By installing Anaconda, you will install python and setup all the libraries used in this class.
Please follow the online install documentation for instructions.
<h3 style="text-align:center"><a href="https://store.continuum.io/cshop/anaconda/">Get Anaconda</a><h3>
## What is programming anyway?
![](http://startupcollective-com.s3.amazonaws.com/wp-content/uploads/programming.jpg)
![](https://www.tynker.com/image/school/features/codeblocks-code.png)
## Why would I trust a snake to be of any use?
![](http://www.interskill.com.au/wp-content/uploads/2013/04/python-programming.jpg)
* Easy
* Dynamic and interpreted
* Expressive
* Ecosystem
## Now it's your turn to play with Python
### IPython Notebook
launch the IPython Notebook by opening up a terminal and typing in the following command before pressing ENTER.
```bash
ipython notebook
```
Cells are either 'code' or 'text' - try to switch between them with the 'cell' menu on top. Text in cells is styled with a syntax known as [MarkDown](https://help.github.com/articles/markdown-basics/)
Mac users need to run this in the terminal
    export LC_ALL=en_US.UTF-8
    export LANG=en_US.UTF-8
### REPL
1. Read
1. Evaluate
1. Print
1. Loop
#### Print statements
#### Arithmetic
#### Inline Graphics
End of explanation
# assignement
# reassignement
# name error
# multiple assignment
# variable swap
Explanation: So, what are these 'programming components' you speak of?
Variables // First, to learn, we have to remember
End of explanation
# + addition
# - subtraction
# * multiplication
# / division
# ** exponent
# % remainder
# division
Explanation: Operations // Second, we have to put two and two togther
End of explanation
# numbers : int, float
Explanation: Datatypes // Third, we have to know what we're dealing with
int / float
End of explanation
# letters ++ : str
# replace
# split
# capitalize
Explanation: str
End of explanation
# accessing a value
# updating a value
# appending a value
# deleting a value
# length
# concatenation
# repetition
# iteration
# reverse
#  sort
# membership
Explanation: list
End of explanation
# True
# False
Explanation: bool
End of explanation
# == equal to
# != not equal to
# < less than
# > greater than
# <= less than or equal to
# >= greater than or equal to
Explanation: Conditionals // Fourth, we need to know right from wrong
End of explanation
# How do we build on top of the basics
Explanation: Functions // Lastly, we stop sweating the small stuff
How do we build on top of the basics?
End of explanation
<END_TASK>