Skip to main content

narwhals-map

PyPI

An experimental Narwhals plugin adding Map datatype.

[!TIP] See narwhals-dev/narwhals#3525 issue for more info.

Map is natively supported across all backends except for Polars.

Supported Narwhals backends:

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"))

Metadata

Release files for narwhals-map 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for narwhals-map 0.1.1
File Size Uploaded
narwhals_map-0.1.1.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for narwhals-map 0.1.1
File Interpreter ABI Platform
narwhals_map-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / narwhals_map-0.1.1.tar.gz

Download URL narwhals_map-0.1.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
347506656d234a2cdef3dbacec223de218243074e52e88dfe9771438e5b27e41
BLAKE2b-256 checksum
How to use checksums
4772b78515a328bfe727f7ecf612f996fc1907caf2eb1b45c0252f891157081a
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / narwhals_map-0.1.1-py3-none-any.whl

Download URL narwhals_map-0.1.1-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b806a06cc3827d950d8544476b9992cfe65dbd8bf073382c9726463ad403657b
BLAKE2b-256 checksum
How to use checksums
734e83e49b301123a2543f6c30c48d5f14ff05cd6d2776f850c152ce7785a9bd
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page