Reader small image

You're reading from  Hands-On Bitcoin Programming with Python

Product typeBook
Published inAug 2018
Reading LevelIntermediate
Publisher
ISBN-139781789537000
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
BignumWorks Software LLP
BignumWorks Software LLP
author image
BignumWorks Software LLP

BignumWorks Software LLP is an India-based software consultancy that provides consultancy services in the area of software development and technical training. Our domain expertise includes web, mobile, cloud app development, data science projects, in-house software training services, and up-skilling services
Read more about BignumWorks Software LLP

Right arrow

Getting, reading in, and cleaning bitcoin price data

We will start by importing the necessary modules.

Import pandas to enable you to read in the data and start exploring it. The following screenshot shows the import pandas command:

Also, import matplotlib for drawing plots from the data.

We need to set some options for pandas and matplotlib. The following screenshot shows the command for importing matplotlib:

The first option we will set is called options.mode.chained_assignment = None.

The preceding option is to make sure that the operations are for the cleanup, which will be performed on the pandas DataFrame objects; we want the cleanup to happen on the original DataFrame objects and not on copies.

The following screenshot shows the options.mode.chained_assignment = None option:

Also, set matplotlib to visualize and display all the charts shown in the following screenshot...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Bitcoin Programming with Python
Published in: Aug 2018Publisher: ISBN-13: 9781789537000

Author (1)

author image
BignumWorks Software LLP

BignumWorks Software LLP is an India-based software consultancy that provides consultancy services in the area of software development and technical training. Our domain expertise includes web, mobile, cloud app development, data science projects, in-house software training services, and up-skilling services
Read more about BignumWorks Software LLP