Kernel: Python 3 (Anaconda)
In [1]:
4
In [2]:
In [3]:
CPU times: user 16 ms, sys: 4 ms, total: 20 ms
Wall time: 52.2 ms
0.99999937576182962
In [4]:
90.9090909090909
In [5]:
In [6]:
'2.7.13 (default, Jul 22 2017, 09:28:25) \n[GCC 5.4.0 20160609]'
In [7]:
Type help() for interactive help, or help(object) for help about object.
In [8]:
Welcome to Python 2.7! This is the online help utility.
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/2.7/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".
To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
help>
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
#First Section
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [0]:
In [4]:
In [5]:
In [6]:
In [7]:
[ 1. 1.1 0.9]
In [8]:
[ 1.1 0.9 1.05]
In [9]:
In [10]:
[ 0.1 -0.18181818 0.16666667]
In [10]:
In [2]:
In [6]:
In [0]:
In [5]:
In [6]:
In [0]:
In [3]:
In [2]:
In [1]:
In [19]:
In [20]:
In [8]:
In [6]:
In [5]:
In [7]:
In [9]:
In [0]:
In [23]:
In [24]:
In [21]:
WARNING: Some output was deleted.
In [22]:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-22-6912f393f50f> in <module>()
----> 1 data.iloc[0:5, 0:5]
NameError: name 'data' is not defined
In [12]:
In [11]:
In [13]:
In [14]:
In [15]:
In [16]:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-16-670a37b6d762> in <module>()
----> 1 fh = fetch_historical_yahoo('^IBM', (2000, 1, 1), (2001, 12, 31))
NameError: name 'fetch_historical_yahoo' is not defined
In [0]:
In [0]:
In [0]: