OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital) header
OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital) profile picture

https://xitter.gq/t.co/cTiZwmdLQX

Geneva, Switzerland
Joined May 2022
Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)Photo by OutSquare Capital🇨🇴🇨🇭 (@OutSqureCapital)
i don't sell no courses or signals. This twitter is only for journaling purposes, for myself and potential futures job opportunities. I don't know if tomorrow will be green, red, or yellow. I'm 100% systematic, and also won't share my system.
1
9
typical code written by "state of the art" LLM's. And you are telling me that bun 1 millions line rewrite is good to go?? lmao.
1
1,542
My library got 30 stars! If you find yourself using a lot of Python I recommend checking it out. Fluent operations on Iterators, Result and Option types. core partially written in Rust (goal is 100%, slowly getting there) github.com/OutSquareCapital/…
146
OutSquare Capital🇨🇴🇨🇭 retweeted
🚀 If you only read or share one article from my PostgreSQL series, this should be the one. I just published a deep dive into the query planner about how PostgreSQL decides how to execute your SQL query. 👉 internals-for-interns.com/po… #PostgreSQL #SQL #Databases #Performance
1
18
106
9,664
comparing numpy nanmean execution time for 3 different implementation. green: numbagg blue: bottleneck red: numpy native func
1
176
nanmedian isn't competitive tho. numpy implementation always lose
94
I should be working for my uni exams but wathever, just spent a few hours creating a polars inspired syntax wrapper for duckbd Repo link: github.com/OutSquareCapital/…
1
1
184
Woops forgot the second screen with the actual window function
1
104
You can query from a TABLE object (just contain a Path and a name atm, will implement more later) or a SELECT object. Only diff is you do SELECT().FROM(path) VS Table(name, path).SELECT() But the first way of doing it is more SQL-like whilst the second one is more polars like
87
polars with plotly is so much fun. here rolling corr of a bunch of assets to SPY. working with long format, good syntax and lazy computations is a game changer. requires custom work tho. here i had to implement my custom package for easy graph viz because altair sucks
1
167
Polars is so good vs pandas. Been playing around for 10 days now and I just regret to not have switched sooner
1
105
Enums are hugely underrated in Python. If you have a collection of hardcoded variables, they are very convenient for IDE completions & avoid repeating the same strings over and over.
1
150
just realized I forgot to share the Datafile class:
1
92
so if I want to add a new file in my DB, I just have to add it in the db folder, and add the corresponding Enum. that's it. the file extension, loading and handling method are all taken care of automatically. @BeatzXBT if you have any suggestion I'm happy to hear it
1
81