Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with DuckDB
  • Table Of Contents Toc
Getting Started with DuckDB

Getting Started with DuckDB

By : Simon Aubury, Ned Letcher
5 (1)
close
close
Getting Started with DuckDB

Getting Started with DuckDB

5 (1)
By: Simon Aubury, Ned Letcher

Overview of this book

DuckDB is a fast in-process analytical database. Getting Started with DuckDB offers a practical overview of its usage. You'll learn to load, transform, and query various data formats, including CSV, JSON, and Parquet. The book covers DuckDB's optimizations, SQL enhancements, and extensions for specialized applications. Working with examples in SQL, Python, and R, you'll explore analyzing public datasets and discover tools enhancing DuckDB workflows. This guide suits both experienced and new data practitioners, quickly equipping you to apply DuckDB's capabilities in analytical projects. You'll gain proficiency in using DuckDB for diverse tasks, enabling effective integration into your data workflows.
Table of Contents (15 chapters)
close
close

Summary

In this chapter, we moved beyond using the simple DuckDB CLI for working with DuckDB databases and began our journey into using DuckDB with Python. We started by getting our environment set up with the necessary dependencies. We then looked at the two different ways to connect to DuckDB from Python: using the default in-memory database, which is convenient for performing interactive data analysis and other types of ad-hoc DuckDB usage, and the explicit use of connection objects, which offers increased flexibility within our DuckDB-powered workflows, as well as being the safer way to build Python libraries that interact with DuckDB databases. We then saw how we can connect to disk-based DuckDB databases, allowing us to persist prepared databases for subsequent use, before coving the importance of closing database connections, especially when using disk-based databases. We also looked at the more specialized use case of multiple processes connecting to a disk-based database in...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with DuckDB
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon