An Introduction to Python (and polars) for SAS Users.
The goal for this content is to permit users familiar with Base SAS programming to learn Python and figure out how to comparable data anlaysis.
The examples provided map SAS programming constructs and coding patterns into their Python equivalents. The primary focus is on polars and data management issues related to analysis of data.
- Chapter 1-Motivation
- Chapter 2-Introduction
- Chapter 3-Data Structures
- Chapter 4-Data Types and Formatting
- Chapter 5-
polars(part 1) - Chapter 6-
polars(part 2) - Chapter 7-Date, Time, and Datetime Objects
- Chapter 8-Time Series and Date Handling
- Chapter 9-Group by
- Chapter 10-
polarsReaders - Chapter 11-Additional Data Wrangling
- You can scroll these on github to read/review the content.
- Run these notebooks yourself using
git clone https://github.com/kpwhri/PythonForSASUserscd PythonForSASUsersjupyer notebook
- This is a fork by work done by Randy Betancourt in 2016, but now updated:
- Replaced dependencies
pandaswithpolars - Replace format strings with f-strings
f'{}' - Corrected errors and inaccuracies
- Replaced dependencies