Magic Functions


In [11]:
list1 = [1,2,3,4,5]
list2 = [4,6,7,8,9,10]
dict1 = {'est':1, 'est2':2}
string = 'this is a string'
number = 1

%whos


Variable   Type    Data/Info
----------------------------
dict1      dict    n=2
list1      list    n=5
list2      list    n=6
number     int     1
string     str     this is a string

Package Installation


In [13]:
!pip install pandas


Requirement already satisfied: pandas in /Users/siyang/anaconda3/lib/python3.6/site-packages (0.23.3)
Requirement already satisfied: python-dateutil>=2.5.0 in /Users/siyang/anaconda3/lib/python3.6/site-packages (from pandas) (2.7.3)
Requirement already satisfied: pytz>=2011k in /Users/siyang/anaconda3/lib/python3.6/site-packages (from pandas) (2018.5)
Requirement already satisfied: numpy>=1.9.0 in /Users/siyang/anaconda3/lib/python3.6/site-packages (from pandas) (1.14.5)
Requirement already satisfied: six>=1.5 in /Users/siyang/anaconda3/lib/python3.6/site-packages (from python-dateutil>=2.5.0->pandas) (1.11.0)
You are using pip version 18.0, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

In [ ]: