A quick demo of Python's capabilities

To start, let me arouse your interest by showing you some analytical and graphical capabilities of Python. I have explained the code just briefly in this section; you will learn more about Python programming in the rest of this chapter. The following code imports the libraries required for this demonstration:

import numpy as np 
import pandas as pd 
import matplotlib.pyplot as plt 
Please note that Python is indent sensitive. Every space counts. You should be very careful especially when you use commands that span multiple lines. Just leave the default indent of a new line created by VS; if you delete or add a space, the code does not work.

Then we need some data. I am using the same data from the AdventureWorksDW2014 ...

Get SQL Server 2017 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.