Polars Cookbook Over 60 Practical Recipes to Transform, Manipulate, and Analyze Your Data Using Python Polars 1. x
Leverage a lightning fast DataFrame library for efficient data wrangling in Python 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 ac...
Otros Autores: | , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing
[2024]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009843338206719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Foreword
- Contributors
- Table of Contents
- Preface
- Chapter 1: Getting Started with Python Polars
- Technical requirements
- Introducing key features in Polars
- Speed and efficiency
- Expressions
- The lazy API
- See also
- The Polars DataFrame
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Polars Series
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- The Polars LazyFrame
- How to do it...
- How it works...
- There's more...
- See also
- Selecting columns and filtering data
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating, modifying, and deleting columns
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Understanding method chaining
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Processing larger-than-RAM datasets
- How to do it...
- How it works...
- There's more...
- See also
- Chapter 2: Reading and Writing Files
- Technical requirements
- Reading and writing CSV files
- How to do it...
- How it works...
- There's more...
- See also
- Reading and writing Parquet files
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading and writing Delta Lake tables
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading and writing JSON files
- How to do it...
- How it works...
- There's more...
- See also
- Reading and writing Excel files
- Getting ready
- How to do it...
- How it works...
- See also
- Reading and writing other data file formats
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Reading and writing multiple files.
- How to do it...
- How it works...
- There's more...
- See also
- Working with databases
- Getting ready
- How to do it...
- How it works…
- See also
- Chapter 3: An Introduction to Data Analysis in Python Polars
- Technical requirements
- Inspecting the DataFrame
- How to do it...
- How it works...
- There's more...
- See also
- Casting data types
- How to do it...
- How it works...
- There's more...
- See also
- Handling duplicate values
- How to do it...
- How it works...
- There's more...
- See also
- Masking sensitive data
- How to do it...
- How it works...
- There's more...
- See also
- Visualizing data using Plotly
- Getting ready
- How to do it...
- How it works...
- See also
- Detecting and handling outliers
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Chapter 4: Data Transformation Techniques
- Technical requirements
- Exploring basic aggregations
- How to do it...
- How it works...
- There's more...
- See also
- Using group by aggregations
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Aggregating values across multiple columns
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Computing with window functions
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Applying UDFs
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using SQL for data transformations
- Getting ready
- How to do it…
- How it works…
- See also
- Chapter 5: Handling Missing Data
- Technical requirements
- Identifying missing data
- Getting ready
- How to do it...
- How it works...
- See also
- Deleting rows and columns containing missing data
- Getting ready
- How to do it...
- How it works...
- There's more.
- See also
- Filling in missing data
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Chapter 6: Performing String Manipulations
- Technical requirements
- Filtering strings
- How to do it...
- How it works...
- There's more...
- See also
- Converting strings into date, time, and datetime
- How to do it...
- How it works...
- See also
- Extracting substrings
- How to do it...
- How it works...
- There's more...
- See also
- Cleaning strings
- Getting ready
- How to do it...
- How it works...
- See also
- Splitting strings into lists and structs
- Getting ready
- How to do it...
- How it works...
- See also
- Concatenating and combining strings
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 7: Working with Nested Data Structures
- Technical requirements
- Creating lists
- How to do it...
- How it works...
- There's more...
- See also
- Aggregating elements in lists
- How to do it...
- How it works...
- There's more...
- See also
- Accessing and selecting elements in lists
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Applying logic to each element in lists
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Working with structs and JSON data
- Getting ready
- How to do it...
- How to do it...
- There's more…
- See also
- Chapter 8: Reshaping and Tidying Data
- Technical requirements
- Turning columns into rows
- How to do it...
- How it works...
- See also
- Turning rows into columns
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Joining DataFrames
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Concatenating DataFrames
- Getting ready
- How to do it.
- How it works...
- There's more...
- See also
- Other techniques for reshaping data
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 9: Time Series Analysis
- Technical requirements
- Working with date and time
- How to do it...
- How it works...
- There is more...
- See also
- Applying rolling window calculations
- How it works...
- There is more...
- See also
- Resampling techniques
- How to do it...
- How it works...
- See also
- Time series forecasting with the functime library
- Getting ready
- How to do it...
- How it works...
- There is more...
- See also
- Chapter 10: Interoperability with Other Python Libraries
- Technical requirements
- Converting to and from a pandas DataFrame
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Converting to and from NumPy arrays
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Interoperating with PyArrow
- Getting ready
- How to do it...
- How it works...
- See also
- Integrating with DuckDB
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 11: Working With Common Cloud Data Sources
- Technical requirements
- Working with Amazon S3
- Getting ready
- How to do it...
- How it works...
- See also
- Working with Azure Blob Storage
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Working with Google Cloud Storage
- Getting ready
- How to do it...
- How it works...
- See also
- Working with BigQuery
- Getting ready
- How to do it...
- How it works...
- See also
- Working with Snowflake
- Getting ready
- How to do it...
- How it works...
- See also
- Chapter 12: Testing and Debugging in Polars
- Technical requirements
- Debugging chained operations
- How to do it...
- How it works.
- There's more...
- See also
- Inspecting and optimizing the query plan
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Testing data quality with cuallee
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Running unit tests with pytest
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Index
- Other Books You May Enjoy.