Tidier.jl
S7
Tidier.jl | S7 | |
---|---|---|
5 | 6 | |
493 | 364 | |
4.9% | 1.1% | |
8.5 | 7.6 | |
11 days ago | about 2 months ago | |
Julia | R | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tidier.jl
- Tidier.jl: Meta-package for data analysis in Julia, modeled after R tidyverse
-
Julia 1.10 Released
btw, there has been a pretty nice effort of reimplementing the tidyverse in julia with https://github.com/TidierOrg/Tidier.jl and it seems to be quite nice to work with, if you were missing that from R at least
-
Pandas vs. Julia – cheat sheet and comparison
Indeed DataFrames.jl isn't and won't be the fastest way to do many things. It makes a lot of trade offs in performance for flexibility. The columns of the dataframe can be any indexable array, so while most examples use 64-bit floating point numbers, strings, and categorical arrays, the nice thing about DataFrames.jl is that using arbitrary precision floats, pointers to binaries, etc. are all fine inside of a DataFrame without any modification. This is compared to things like the Pandas allowed datatypes (https://pbpython.com/pandas_dtypes.html). I'm quite impressed by the DataFrames.jl developers given how they've kept it dynamic yet seem to have achieved pretty good performance. Most of it is smart use of function barriers to avoid the dynamism in the core algorithms. But from that knowledge it's very clear that systems should be able to exist that outperform it even with the same algorithms, in some cases just by tens of nanoseconds but in theory that bump is always there.
In the Julia world the one which optimizes to be fully non-dynamic is TypedTables (https://github.com/JuliaData/TypedTables.jl) where all column types are known at compile time, removing the dynamic dispatch overhead. But in Julia the minor performance gain of using TypedTables vs the major flexibility loss is the reason why you pretty much never hear about it. Probably not even worth mentioning but it's a fun tidbit.
> For what it's worth, data.table is my favourite to use and I believe it has the nicest ergonomics of the three I spoke about.
I would be interested to hear what about the ergonomics of data.table you find useful. if there are some ideas that would be helpful for DataFrames.jl to learn from data.table directly I'd be happy to share it with the devs. Generally when I hear about R people talk about tidyverse. Tidier (https://github.com/TidierOrg/Tidier.jl) is making some big strides in bringing a tidy syntax to Julia and I hear that it has had some rapid adoption and happy users, so there are some ongoing efforts to use the learnings of R API's but I'm not sure if someone is looking directly at the data.table parts.
-
Tidyverse 2.0.0
“Tidier.jl is a 100% Julia implementation of the R tidyverse mini-language in Julia.”
https://github.com/TidierOrg/Tidier.jl
-
What's Julia's biggest weakness?
A recent package, Tidier.jl, is coming from a R package developer: https://github.com/kdpsingh/Tidier.jl
S7
- Will they get it right this time?
-
Tidyverse 2.0.0
https://adv-r.hadley.nz/oo.html
"There are multiple OOP systems to choose from. In this book, I’ll focus on the three that I believe are most important: S3, R6, and S4. S3 and S4 are provided by base R. R6 is provided by the R6 package, and is similar to the Reference Classes, or RC for short, from base R.
"There is disagreement about the relative importance of the OOP systems. I think S3 is most important, followed by R6, then S4. Others believe that S4 is most important, followed by RC, and that S3 should be avoided. This means that different R communities use different systems."
https://rconsortium.github.io/OOP-WG/
"The S7 package is a new OOP system designed to be a successor to S3 and S4."
-
Is python necessary to learn machine learning?
Even if RStudio & the Tidyverse have mostly been promoting a functional programming style in R, it has full support for OOP (see R6 or R7 for more modern implementations of it). Let's not even mention the excellent Stan ecosystem for Probabilistic programming / Bayesian modeling, or Bioconductor, the biggest repository of bioinformatics packages & tools of any language.
-
Why is OOP in R so messy?
Not sure if you or others have missed it, as the link from the readme is dead, but the proposal section of that repo is informative of the current state of things: https://github.com/RConsortium/OOP-WG/blob/master/proposal/proposal.org
What are some alternatives?
Julia-DataFrames-Tutorial - A tutorial on Julia DataFrames package
Genie.jl - 🧞The highly productive Julia web framework
tidytable - Tidy interface to 'data.table'
stan - Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
py-shiny - Shiny for Python
AlgebraOfGraphics.jl - Combine ingredients for a plot
DataFramesMeta.jl - Metaprogramming tools for DataFrames
dtplyr - Data table backend for dplyr
julia - The Julia Programming Language
db-benchmark - reproducible benchmark of database-like ops