Lập Trình Linux

Part 2| Setup Python Virtual Environment For Trade Algo On Win 10




Facebook:
www.facebook.com/clueple

We’re now ready
to setup Python pandas package for financial analysis

To use pandas
we need to install at least 4 packages in advance
They are numpy
python-dateutil
pytz
and setuptools
Again
we go back to start
cmd command prompt
and begin our installation

First of all
get back to our virtual environment
pip install numpy
we need this package for calculation

Then we pip install python-dateutil
pytz
and setuptools

If you follow along on my other video
you may not need to install setuptools
because it’s already included in Python 3.6

Once we’ve installed the 4 packages
we can move on to install pandas-datareader
and datetime

According to pandas-datareader’s website
pandas-datareader should be compatible
with pandas 0.20.1
Otherwise
I’ll go back to pandas version 0.19.2

In addition to pandas
we also need other Python packages
Let’s say
if you want to grab web data
you need lxml
html5lib
and beautifulsoup4
let’s install them now

Finally
let us install openpyxl
so that we can export data to Excel

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Lập Trình Linux
Hướng dẫn cài VMware Tools trên máy ảo VMware Workstation (Install VMware Tools on guest OS)
Phần Mềm
Đồ Nghề Làm Youtube | 2 Phần Mềm Làm Video Dành Cho Máy Tính Cấu Hình Yếu
Lập Trình Linux
Google Chromebook Pixel Gen 2 – Chiếc máy tính tuyệt đẹp và chạy mượt hơn cả Macbook Pro
There are currently no comments.