plotnine
polars
Our great sponsors
plotnine | polars | |
---|---|---|
36 | 144 | |
3,809 | 25,837 | |
- | 5.3% | |
9.7 | 10.0 | |
7 days ago | 5 days ago | |
Python | Rust | |
MIT License | MIT License |
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.
plotnine
- FLaNK AI Weekly 18 March 2024
-
A look at the Mojo language for bioinformatics
To your last point, have you tried plotnine? It's meant to be ggplot2 for python.
-
Mastering Matplotlib: A Step-by-Step Tutorial for Beginners
plotnine - A grammar of graphics for Python based on ggplot2.
-
Top 10 growing data visualization libraries in Python in 2023
Github: https://github.com/has2k1/plotnine
-
Lets-Plot: An open-source plotting library by JetBrains
This seems quite similar to plotnine [0], which also provides a grammar of graphics interface for Python. That said, I love ggplot and I can't wait to use this in my research! I hope we can port/re-implement ggthemes, scientificplots [1], and other ggplot libraries for lets-plot.
- When would you use R instead of Python?
-
[P] Easily make complex plots using ChatGPT [open source]
There is [plotnine](https://plotnine.readthedocs.io/en/stable/) which tries to implement ggplot in Python.
-
Is R or Python an EASIER option for non-CS/SE grads?
You could use plotnine if you like the grammar of graphics concept: https://plotnine.readthedocs.io/en/stable/
-
Every modeler is supposed to be a great Python programmer
> Python doesn’t yet have anything remotely close to ggplot for rapidly making exploratory graphics, for example.
Plug for plotnine (https://plotnine.readthedocs.io/en/stable/). I don't know R but use ggplot indirectly through this library for exploratory data analysis, and comparing the experience to any other python plotting library, I understand why R folks are usually so sad to be using Python.
-
Why has nobody ported ggplot to Python?
They have, https://plotnine.readthedocs.io/en/stable/
polars
-
Why Python's Integer Division Floors (2010)
This is because 0.1 is in actuality the floating point value value 0.1000000000000000055511151231257827021181583404541015625, and thus 1 divided by it is ever so slightly smaller than 10. Nevertheless, fpround(1 / fpround(1 / 10)) = 10 exactly.
I found out about this recently because in Polars I defined a // b for floats to be (a / b).floor(), which does return 10 for this computation. Since Python's correctly-rounded division is rather expensive, I chose to stick to this (more context: https://github.com/pola-rs/polars/issues/14596#issuecomment-...).
- Polars
-
Stuff I Learned during Hanukkah of Data 2023
That turned out to be related to pola-rs/polars#11912, and this linked comment provided a deceptively simple solution - use PARSE_DECLTYPES when creating the connection:
- Polars 0.20 Released
- Segunda linguagem
- Polars: Dataframes powered by a multithreaded query engine, written in Rust
- Summing columns in remote Parquet files using DuckDB
- Polars 0.34 is released. (A query engine focussing on DataFrame front ends)
What are some alternatives?
seaborn - Statistical data visualization in Python
vaex - Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second 🚀
matplotlib - matplotlib: plotting with Python
modin - Modin: Scale your Pandas workflows by changing a single line of code
Altair - Declarative statistical visualization library for Python
arrow-datafusion - Apache DataFusion SQL Query Engine
plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
DataFrames.jl - In-memory tabular data in Julia
ggplot - ggplot port for python
datatable - A Python package for manipulating 2-dimensional tabular data structures
bokeh - Interactive Data Visualization in the browser, from Python
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing