Appendix A: A Crash Course in Python

IPython and Jupyter

Data Types and Collections

Numeric Data Types

Character Data Types

Booleans

Lists and Tuples

Other Types

Flow Control

Conditional Code

Looping

Functions

Classes and Objects

Exceptions

Context Managers

Using the Pandas Package

Data Structures

Data Selection

Creating Plots and Charts

Plotting from Pandas DataFrame Methods

Plotting DataFrames using Plotly and Cufflinks

Creating Graphics with Matplotlib

Interactive Visualization with Bokeh

Conclusion

We expect that you have some familiarity with Python or you have at least some programming experience. We do not attempt to teach you everything about Python because there are many good books already out there for that purpose, However, we do want ...

Get SAS Viya 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.