Comments (3)
I think there is recent issue about improving the filter docs for these examples.
There are dedicated *_missing()
functions1
>>> df.filter(pl.col("FLG").ne_missing("Y"))
shape: (2, 2)
┌─────┬──────┐
│ ID ┆ FLG │
│ --- ┆ --- │
│ str ┆ str │
╞═════╪══════╡
│ 2 ┆ null │
│ 3 ┆ N │
└─────┴──────┘
Footnotes
from polars.
This works, thank you very much.
Going to request update to your ne_missing() documentation.
from polars.
#17755 is where the filter docs are being worked on.
Perhaps they could also add a mention of eq_missing
/ ne_missing
from polars.
Related Issues (20)
- Incorrect results from `Series.__rtruediv__` HOT 1
- Add SQL feature of ORDER BY RANDOM()
- Expressions support in insert_column (like with_columns)
- Passing a `Series` to `DataFrame.sort` gives "literal expressions are not allowed for sorting" error HOT 3
- polars' ingestion of decimal.Decimal values fails if all values do not have the same number of decimal places HOT 2
- Series.is_in called with a mixed list of Python integers and floats fails HOT 4
- Where is indexing `__getitem__` (e.g. `df[...]`) documented for polars DataFrame and Series? HOT 5
- Casting literal floats to strings rounds the value down. HOT 2
- Try-Except style Error handing for Column Computation?
- double select on lazyframe has performance regression HOT 1
- Join documentation is misleading or wrong. HOT 1
- Missing docs pages for some Series methods HOT 1
- DataFrame.__pow__ fails for (series, column) inputs HOT 1
- Merge list of dataframes with common keys HOT 4
- Polars' rust parquet engine reads/writes files that are unreadable by duckdb/pandas/pyarrow `(use_pyarrow=True)` HOT 2
- `pl.cum_count` doesn't
- Transpose option for `DataFrame.describe()`
- Adding “Rounding half to even”
- `the name 'literal' is duplicate` when selecting a multi-element NumPy array or list
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 polars.