Polars Cookbook: Over 60 practical recipes to transform, manipulate, and analyze your data using Python Polars 1.x

Polars Cookbook: Over 60 practical recipes to transform, manipulate, and analyze your data using Python Polars 1.x

Polars Cookbook: Over 60 practical recipes to transform, manipulate, and analyze your data using Python Polars 1.x

Author: Yuki Kakegawa (Author)

Publisher finelybook 出版社:‏Packt Publishing ‎

Edition 版本:‏ ‎ N/A

Publication Date 出版日期:‏ ‎ 2024-08-23

Language 语言: ‎ English

Print Length 页数: ‎ 394 pages

ISBN-10: ‎ 1805121154

ISBN-13: ‎ 9781805121152

Book Description

Leverage Polars, a lightning-fast DataFrame library, to transform your Python-based data science projects with efficient data wrangling and manipulation

Key Features

  • Unlock the power of Python Polars for faster and more efficient data analysis workflows
  • Master the fundamentals of Python Polars with step-by-step recipes
  • Discover data manipulation techniques to apply across multiple data problems
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

The Polars Cookbook is a comprehensive, hands-on guide to Python Polars, one of the first resources dedicated to this powerful data processing library. Written by Yuki Kakegawa, a seasoned data analytics consultant who has worked with industry leaders like Microsoft and Stanford Health Care, this book offers targeted, real-world solutions to data processing, manipulation, and analysis challenges. The book also includes a foreword by Marco Gorelli, a core contributor to Polars, ensuring expert insights into Polars’ applications.

From installation to advanced data operations, you’ll be guided through data manipulation, advanced querying, and performance optimization techniques. You’ll learn to work with large datasets, conduct sophisticated transformations, leverage powerful features like chaining, and understand its caveats. This book also shows you how to integrate Polars with other Python libraries such as pandas, numpy, and PyArrow, and explore deployment strategies for both on-premises and cloud environments like AWS, BigQuery, GCS, Snowflake, and S3.

With use cases spanning data engineering, time series analysis, statistical analysis, and machine learning, Polars Cookbook provides essential techniques for optimizing and securing your workflows. By the end of this book, you’ll possess the skills to design scalable, efficient, and reliable data processing solutions with Polars.

What you will learn

  • Read from different data sources and write to various files and databases
  • Apply aggregations, window functions, and string manipulations
  • Perform common data tasks such as handling missing values and performing list and array operations
  • Discover how to reshape and tidy your data by pivoting, joining, and concatenating
  • Analyze your time series data in Python Polars
  • Create better workflows with testing and debugging

Who this book is for

This book is for data analysts, data scientists, and data engineers who want to learn how to use Polars in their workflows. Working knowledge of the Python programming language is required. Experience working with a DataFrame library such as pandas or PySpark will also be helpful.

Table of Contents

  1. Getting Started with Python Polars
  2. Reading and Writing Files
  3. An Introduction to Data Analysis in Python Polars
  4. Data Transformation Techniques
  5. Handling Missing Data
  6. Performing String Manipulations
  7. Working with Nested Data Structures
  8. Reshaping and Tidying data
  9. Time Series Analysis
  10. Interoperability with Other Python Libraries
  11. Working with Common Cloud Data Sources
  12. Testing and Debugging in Polars

Review

“Yuki has been a long-time fan of Polars and he has professional experience as a consultant. It’s great to see him pair these together to produce a cookbook of practical recipes that you can use to solve real problems. I’m sure you’ll love learning about Polars whilst reading this book.”

Marco Gorelli, Senior Software Engineer, Quansight

About the Author

Yuki Kakegawa is a data analytics professional with a background in computer science. Yuki has worked in the data space for the past several years, most of which has been spent in consulting, focusing on data engineering, analytics, and business intelligence. His clients are from various industries, such as healthcare, education, insurance, and private equity. He has worked with various companies, including Microsoft and Stanford Health Care, to name a couple. He also runs Orem Data, a data analytics consultancy that helps companies improve their existing data and analytics infrastructure. Aside from work, Yuki enjoys playing baseball and softball with his wife and friends.

Amazon Page

下载地址

PDF, EPUB | 46 MB | 2024-09-06

打赏
未经允许不得转载:finelybook » Polars Cookbook: Over 60 practical recipes to transform, manipulate, and analyze your data using Python Polars 1.x

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫