narwhals-map
An experimental Narwhals plugin adding Map datatype.
[!TIP] See
narwhals-dev/narwhals#3525issue for more info.
Map is natively supported across all backends except for Polars.
Supported Narwhals backends:
- Arrow
- Ibis
- Polars (via
polars-map)
Currently monkey-patches Narwhals to expose a new nw.col.map namespace.
Installation
$ uv add narwhals-map
Usage
import narwhals as nw
import narwhals_map # registers the Map dtype and .map namespace
df = nw.from_native(native_df) # use polars_map.Map for Polars-backed frames
result = df.select(nw.col("map_col").map.get("key1"))
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
narwhals_map-0.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file narwhals_map-0.1.1.tar.gz.
File metadata
- Download URL: narwhals_map-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
347506656d234a2cdef3dbacec223de218243074e52e88dfe9771438e5b27e41
|
|
| MD5 |
39843e63a7b0a5c6e0757c2d82f4a7bb
|
|
| BLAKE2b-256 |
4772b78515a328bfe727f7ecf612f996fc1907caf2eb1b45c0252f891157081a
|
File details
Details for the file narwhals_map-0.1.1-py3-none-any.whl.
File metadata
- Download URL: narwhals_map-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b806a06cc3827d950d8544476b9992cfe65dbd8bf073382c9726463ad403657b
|
|
| MD5 |
3a121141c74fc4a512745f37a1fbd6f8
|
|
| BLAKE2b-256 |
734e83e49b301123a2543f6c30c48d5f14ff05cd6d2776f850c152ce7785a9bd
|