Skip to Content
Hands-On Prescriptive Analytics
book

Hands-On Prescriptive Analytics

by Walter R. Paczkowski
October 2024
Intermediate to advanced
412 pages
11h 1m
English
O'Reilly Media, Inc.
Content preview from Hands-On Prescriptive Analytics

Chapter 3. Python Essentials

I focus on applications in this book. These are restricted to the business domain reflecting my background, but the ideas and concepts can be applied equally well to the public domain. So you should broadly interpret the word “application.”

Regardless of the domain, software is needed for applications since computers are used everywhere in our modern technology-driven world and are run by software. To do any credible analytical work as a data scientist, you not only need software capable of doing it, but you also need an understanding of how to use it.

My software of choice is Python. I will discuss the reasons for this in “Python Structure: Overview”. Then, I will review the Python language in the remainder of this chapter. The leading questions for this chapter are:

  1. Why use Python for data science?

  2. What are Python’s advantages?

  3. What are packages?

  4. How do you use packages in Python?

  5. What is Best Practices?

  6. What are data containers in Python?

  7. What are the main data types and containers in Python?

  8. How do you process data in Python?

  9. What are some key Python functions and their use in data science?

  10. How can you create your own Python functions?

  11. What is the most efficient way to access and use Python for data science?

Since I use Python in this book, this chapter will provide you with some basic material to get you started. Many of the Python tools discussed here will be illustrated throughout this book. I will provide references ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Augmented Analytics

Augmented Analytics

Willi Weber, Tobias Zwingmann
Advanced Analytics with PySpark

Advanced Analytics with PySpark

Akash Tandon, Sandy Ryza, Uri Laserson, Sean Owen, Josh Wills

Publisher Resources

ISBN: 9781098153168Errata Page