Chapter 6. Reading and Writing Data
Now that you’ve seen some essential concepts such as data types and the different APIs, you’re ready to learn about working with external data sources. That includes reading data from files and databases into Polars. We’ll also cover how to write your results to files and databases. By the end of this chapter, you’ll be able to start working with your own data. We encourage you to start using your own data as soon as possible, because it will make learning about Polars not only more enjoyable but also more effective.
External data can come in all sorts of ways from all sorts of places. Because of this, Polars has over 30 functions related to reading data, and those functions accept many arguments. It would be challenging and, more importantly, extremely boring to cover every function and every argument in this chapter. That’s what the official API documentation is for. We’ll give a quick overview ...
Get Python Polars: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.