- Mastering Python Data Visualization
- Kirthi Raman
- 291字
- 2021-07-09 21:33:53
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "First we use norm()
from SciPy to create normal distribution samples and later, use hstack()
from NumPy to stack them horizontally and apply gaussian_kde()
from SciPy."
A block of code is set as follows:
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt students = pd.read_csv("/Users/Macbook/python/data/ucdavis.csv") g = sns.FacetGrid(students, palette="Set1", size=7) g.map(plt.scatter, "momheight", "height", s=140, linewidth=.7, edgecolor="#ffad40", color="#ff8000") g.set_axis_labels("Mothers Height", "Students Height")
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
import blockspring import json print blockspring.runParsed("stock-price-comparison", { "tickers": "FB, LNKD, TWTR", "start_date": "2014-01-01", "end_date": "2015-01-01" }).params
Any command-line input or output is written as follows:
conda install jsonschema Fetching package metadata: .... Solving package specifications: . Package plan for installation in environment /Users/MacBook/anaconda: The following packages will be downloaded: package | build ---------------------------|----------------- jsonschema-2.4.0 | py27_0 51 KB The following NEW packages will be INSTALLED: jsonschema: 2.4.0-py27_0 Proceed ([y]/n)?
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Further, you can select the Copy code option to copy the contents of the code block into Canopy's copy-and-paste buffer to be used in an editor."
- 匯編語言程序設計(第2版)
- Servlet/JSP深入詳解
- INSTANT CakePHP Starter
- Java持續交付
- Quarkus實踐指南:構建新一代的Kubernetes原生Java微服務
- 深入淺出PostgreSQL
- Linux Device Drivers Development
- Scala編程實戰(原書第2版)
- Mastering Drupal 8 Views
- Expert Data Visualization
- Android系統級深入開發
- Android移動開發案例教程:基于Android Studio開發環境
- SQL Server實例教程(2008版)
- 零基礎學編程系列(全5冊)
- 循序漸進Vue.js 3前端開發實戰