Scaling Python with Dask by Holden Karau
Author:Holden Karau
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2023-07-26T00:00:00+00:00
Tip
Dask DataFrame is not value-mutable in the way that pandas DataFrame users might be familiar with. Since in-memory modification of a particular value is not possible, the only way to change a value would be a map operation over the whole column of the entire DataFrame. If an in-memory value change is something you have to do often, it is better to use an external database.
Porting SQL to Dask
Dask does not natively offer a SQL engine, although it does natively offer options to read from a SQL database. There are a number of different libraries you can use to interact with an existing SQL database, and to treat Dask DataFrame as a SQL table and run SQL queries directly (see Example 9-4). Some allow you to even build and serve ML models directly using SQL ML syntax similar to that of Googleâs BigQuery ML. In Examples 11-14 and 11-15, we will show the use of Daskâs native read_sql() function and running SQL ML using Dask-SQL.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8295)
Test-Driven Development with Java by Alan Mellor(6697)
Data Augmentation with Python by Duc Haba(6602)
Principles of Data Fabric by Sonia Mezzetta(6359)
Learn Blender Simulations the Right Way by Stephen Pearson(6252)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6118)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5518)
Big Data Analysis with Python by Ivan Marin(5347)
The Infinite Retina by Robert Scoble Irena Cronin(5217)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5143)
Pretrain Vision and Large Language Models in Python by Emily Webber(4306)
Infrastructure as Code for Beginners by Russ McKendrick(4069)
Functional Programming in JavaScript by Mantyla Dan(4038)
The Age of Surveillance Capitalism by Shoshana Zuboff(3946)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3784)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3585)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3562)
