https://www.rhosignal.com/
Rho Signal
A minimal, responsive, and powerful Jekyll theme for presenting professional writing.
2024-03-17T15:14:17+00:00
Liam Brannigan
https://www.rhosignal.com/
Jekyll
© 2024 Liam Brannigan
/assets/img/favicons/favicon.ico
/assets/img/favicons/favicon-96x96.png
Reading from S3 with Polars (or DeltaLake) using AWS SSO
2024-02-26T06:35:24+00:00
2024-03-17T15:13:35+00:00
https://www.rhosignal.com/posts/reading-from-s3-with-sso/
Liam Brannigan
Polars can read and write files from S3. However, to do this Polars needs to authenticate into your AWS account. While there is a crude solution where we copy our AWS access key and secret key from the .aws/credentials file directly into Polars, this does not work with AWS Single Sign On (SSO). In this post I show you a more generic approach for handling authentication that works with SSO.
...
What is a Polars expression?
2024-02-16T03:35:24+00:00
2024-03-17T15:13:35+00:00
https://www.rhosignal.com/posts/what-is-an-expression/
Liam Brannigan
I got a good question recently from a new Polars user: What is the difference between a Series and an expression in Polars?
Well, a Series is a 1D data structure. An expression is a function that operates on a Series to produce a new Series.
So we use an expression to transform a Series.
Want to get going with Polars? Check out my Polars course here
There are many examples of expression...
Pandas to Polars: what to know for time series analysis
2024-01-30T03:35:24+00:00
2024-03-17T15:13:35+00:00
https://www.rhosignal.com/posts/pandas-to-polars-time-series/
Liam Brannigan
There are differences between some important time series concepts in Pandas and Polars that you should know. In this post, to help you make the Pandas to Polars switch I talk through some of these key differences.
I’m working with Polars version 0.20.6 here, but most of these changes should be independant of the version of Polars you are using.
Want to get going with Polars? Check out my P...
Cheatsheet for Pandas to Polars
2024-01-22T09:35:24+00:00
2024-03-17T15:13:35+00:00
https://www.rhosignal.com/posts/polars-pandas-cheatsheet/
Liam Brannigan
Getting started with Polars? This post shows you how to convert some familar Pandas commands to Polars. But it also tries to go beyond that to introduce you to some of the more fundamental differences between Pandas and Polars.
Want to get going with Polars? Check out my Up & Running with Polars course or join me at my next workshop on 14th March
In the following examples we compare P...
Which operations work in streaming mode in Polars?
2024-01-22T03:35:24+00:00
2024-03-17T15:13:35+00:00
https://www.rhosignal.com/posts/streaming-operations-in-polars/
Liam Brannigan
In a recent post I set out the key ideas behind streaming mode in Polars. However, streaming is still a developing part of Polars and not all operations support streaming.
I’d like to improve documentation on which operations streaming in Polars. I’m working on a PR for the offical user guide on this topic, but thought I’d share my work in progress here.
Want to get going with Polars? Chec...