Python for Data & Analytics

Python for Data & Analytics

A Business-Oriented Approach

Edition 2.0 | Copyright | Publication Date: October 2024

Daniel Groner, Fordham University

Overview


Python for Data & Analytics introduces essential programming concepts using Python, pandas, and other packages for the purpose of accessing data and performing analyses, and developing applications. The presentation presumes no prior programming experience. It is designed for introductory and more advanced programming courses in a data analytics, information systems, or business program. To this end, business examples are emphasized throughout. Various topics often covered in a computer-science-oriented course are purposefully not included in this textbook including topics like recursion and sorting algorithms.

Edition 2.0 has been updated to provide coverage of more key topics (e.g., web APIs, simulation, NumPy, Matplotlib ),  as well as "In Brief" appendixes allowing accelerated coverage of certain topics (lists, dictionaries, reading files).

Features


Impart data analytics skills
Explore programming to access, prepare, analyze, and present data.

Explore the power and convenience of Python notebooks
Traditional introductions teach computer programming primarily as a sequence of statements called programs. Today, Python is still used in programs but it is also used for interactive data analysis and in a hybrid technique called a notebook. This text introduces all three approaches.

Jumpstart learning with spreadsheet analogies
As appropriate, analogies are presented relating Python concepts to spreadsheets to leverage students' prior knowledge. To watch Professor Groner discuss spreadsheet analogies and videos click here.

Animate learning
Key programs are animated and narrated using "CodeInMotion" videos that reveal the "living and breathing" dynamics of code. (see the "Videos" section.)

Cement understanding
In-class exercises assure that students can apply each successive concept.

Prepare students for business
Highly-relevant examples are drawn from finance, logistics, marketing, accounting, health, and other functional areas. They are real (or realistic), not too complex, and explained in detail.



New in Edition 2.0


Provide increased coverage

Based on recommendations from users, more coverage of the following key topics are provided:

  • A new chapter on simulation
  • An expanded chapter on accessing and employing web APIs including the New York Times API (for news retrieval) and Google Gemini API (for AI model integration)

  • New appendices covering NumPy and Matplotlib providing a structured, deeper exposure

  • A new appendix on Python's useful os module

  • Detailed coverage of strings

  • Coverage of Visual Studio Codethe csv module, f-strings and match/case statements


Prepare richer exams

The test bank has been expanded to provide more cross-concept question and different types of questions.


Optionally skip basic material

The flexible coverage of the textbook has been enhanced with the inclusion of "In Brief" appendices on reading files, lists, and dictionaries. This facilitates accelerated coverage for those instructors who wish to focus on later material.

About the Author


Daniel Groner is an Clinical Professor in the Information, Technology, and Operations Area at Fordham University’s Gabelli School of Business . He teaches introductory and advanced classes in Python at the undergraduate and graduate levels. He also teaches courses in Information Systems, Database Systems, and Optimization Models.

Dan has over 35 years of experience in business analytics systems spanning finance, logistics, and marketing, with a focus on optimization-based models. He is the co-author of books on the Java programming language as well as the founder of Rose River Software, which develops interactive visualization tools for teaching programming languages.

Daniel Groner

Instructor Resources


Prospect Press provides instructors with an instructor manual, lecture slides and a test bank for each title.
Some texts have additional resources including case teaching notes, tutorials, and addenda.
This content is available to instructors only and is password protected.

Resources Login

Videos

2-2 Set and display a variable with a label
2-3 Set, reset and display a variable
2-4 Input and display a string variable
2-5 Input and total numbers
2-6 Calculate BMI, given height and weight
3-6 Calculator with 2 Rates: if/else
3-8 CD Calculator with 3 Rates: if/elif/else
3-9 CD Calculator with customer type: if and nesting
4-1 while repetition with squares and cubes
4-2 while repetition – cumulate a set of numbers
4-3 while repetition – find maximum of a set of numbers
4-4 while repetition with a control variable – BMI
4-6 while repetition with a special ending value – BMI
4-8 for repetition with squares and cubes
5-1 Greeting function – 1 input parameter
5-2 Book order cost – 1 input parameter and 1 returned result
5-3 Book order cost – 2 input parameters and 1 returned result
6-1 Translate AQI from number to color
6-4 Calculate Mean of a List, Using for
7-1 Read a line from a file, display to screen
7-2 Using while, read lines from a file, display each line to screen
7-3 Using for, read lines from a file, display each line to screen
8-3 Initials from Names Using find()
8-7 Password Checking
9-1 Build a contact directory from user input
9-3 Dictionary example to lookup phone from email

Ordering Information

Student Orders

eTextbooks:
Student Price
$63.85
Paperbacks:
Student Price
$101.85 + shipping

Order directly from our distributors:

Bulk eTextbook Orders
Bookstores may order eTextbooks in bulk directly from RedShelf or VitalSource. Please contact customer support for additional information.

RedShelf: PO@RedShelf.com
VitalSource: VitalSource Bulk Order

Bulk Paperback Orders
Bookstores may order paperbacks in bulk directly from RedShelf by going to the following link. Please contact customer support for additional information.

RedShelf: RedShelf Print Orders

BNED stores
Follow your usual ordering procedures.

Frequently Asked Questions

Individual Paperback Orders
To purchase an individual book, go to the Prospect Press webpage for that book and follow the link to RedShelf or go directly to the RedShelf website using the link below, search for the title, and order there.

Bulk Paperback Orders
To purchase paperbacks in bulk contact RedShelf using the link below:
PO@Redshelf.com

If you have any particular questions about bookstore orders please contact Beth.Golub@ProspectPressVT.com.

VitalSource VS RedShelf

 
RedShelf eTextbook
VitalSource eTextbook
Online or download
Online only
Online and Download
Duration?
Permanent online access
365-day access for online, perpetual download
Returnable?
Yes, within 14 days from purchase
Yes, within 14 days from purchase
Where can I buy this online?
Go to RedShelf.com and search by author name, title, or ISBN.
Go to VitalSource.com and search by author name, title, or ISBN
Can I buy this in the campus bookstore?
Yes, at selected campus and university bookstores. Check if your bookstore sells RedShelf ebooks.
Yes, at selected campus bookstores. Check if your bookstore sells VitalSource ebooks.
For more info: