Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Select a folder and save the key, which will now have a .ppk file extension."

A block of code is set as follows:

cursor.execute("SELECT * from art_pieces")data=cursor.fetchall()data

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

from pymapd import connectconnection = connect(user="mapd", password= "{password}",      host="{my.host.com}", dbname="mapd")cursor = connection.cursor()sql_statement = """SELECT name FROM ...

Get Mastering Geospatial Analysis with Python 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.