Comments (5)
@maennchen we support map literals in main. I will create a new issue to add drop_nil
to lists.
from explorer.
I believe it is a good idea. LazySeries could find maps and convert them into literals recursively.
drop_nil in a mutate is no-no though I think. You can run a filter later on though.
from explorer.
drop_nil in a mutate is no-no though I think. You can run a filter later on though.
@josevalim I had the same reaction, but I think they were using drop_nil on the inner list. So, the resultant series is the same length but each list-element is of a different length.
from explorer.
Exactly. Polars has polars.DataFrame.drop_nulls
as well as polars.Expr.drop_nulls
It should be trivial to implement on Explorer.Series
.
from explorer.
Yep, fully in support of this and drop_nil
on the inner list should be absolutely fine.
from explorer.
Related Issues (20)
- Expose the Polars SQL API? HOT 8
- Support `Series.map/2` with lists HOT 6
- pivot_wider generated names not consistent HOT 11
- v0.8.0 summarise/count bug? HOT 8
- Invalid Struct contents with `{:list, {:struct, %{...}}` HOT 7
- NIF Panic with duplicated key in rename HOT 2
- Allow nils when creating a struct series
- Nested lists of lists can panic HOT 14
- `Nx.stack(..., axis: 1)` on a large dataframe can OOM HOT 10
- Add Series.drop_nil HOT 8
- Support single `on` option in `Dataframe.join` HOT 1
- [Feature request] Add support for Decimal type HOT 12
- Should we always raise when a column is missing? HOT 3
- Split string column into multiple columns (feature request / use case) HOT 4
- Seeing `:nif_not_loaded` error for `Series.split/2` when mutating a dataframe HOT 1
- [Feature request] Add support for read_database in Polars backend. HOT 1
- Using `sort_by` with a grouped data frame doesn't respect `nils:` option HOT 1
- `{:datetime, :second}` dtype support HOT 2
- Add :streaming option to DataFrame.to_csv/3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explorer.