narwhals

Official

Write dataframe-agnostic code across backends.

Authoranam-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Narwhals enables writing dataframe-agnostic code that works across multiple Python dataframe libraries, eliminating backend-specific silos and reducing maintenance overhead.

Core Features & Use Cases

  • Backend-agnostic DataFrame API: write once, run on pandas, polars, cuDF, and more.
  • Full static typing support: type-checked Narwhals code across backends.
  • Easy adoption: wrap library functions with @narwhalify for automatic conversions.

Quick Start

Install Narwhals with pip install narwhals. Then import narwhals as nw and annotate functions with @nw.narwhalify to enable cross-backend compatibility.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: narwhals
Download link: https://github.com/anam-org/metaxy/archive/main.zip#narwhals

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.