Nanuq dev log · Coverage map · updated 6 November 2026

Polars features and what Nanuq covers

Watch out where the queries go, and process well that rusty data.

Living page, refreshed with each release · Nanuq 0.6.1 · Polars 2.1 (Python); Nanuq 0.6.1 builds Polars from the same py-2.1.0 tag · rendered with nimib

Polars has about a thousand public entry points. This page groups them into feature groups and says whether the latest Nanuq release has it, has it partly (fewer options or types than Polars), is missing it, or does not plan it (Python-only features, or ones without a Nim counterpart). Notes name what is still missing inside a group. A ringed status is new in this release. Once the next release has a plan, open groups also show the release that plans them.

The data lives in docs/coverage/polars.json and is refreshed in each release PR. Names on this page are Polars' Python names; Nanuq uses the same names in camelCase. The dev log explains the design choices.

Nanuq 0.6.1

v0.6.1 · released 6 November 2026
116 of 128 groups
7 partly · 1 missing · 4 not planned · 37 new in 0.6

By area↑ contents

AreaGroupsHas itPartlyMissingNew in 0.6
Data types1312003
Series1010002
DataFrame construction and IO1714116
DataFrame (eager)1311204
LazyFrame1110106
GroupBy44002
Joins and concatenation55002
Expressions: core2020004
Expressions: strings66001
Expressions: temporal77001
Expressions: list, array, struct, categorical, binary55001
User-defined functions and plugins42101
Interop with Nim and the ecosystem65101
Engine, configuration and distribution75103

Still open↑ contents

Groups not fully covered in 0.6.1, by priority: P1 next, P2 after, P3 when someone needs it. Ideas that are picked up go through OpenSpec; the rest wait in BACKLOG.md.

PrioFeature group0.6.1AreaWhat is missing
P1PlottingpartlyInterop with Nim and the ecosystemWorks through toSeq or toDatamancer with nim-plotly and ggplotnim. A df.plot namespace is in BACKLOG.
P2DatabasespartlyDataFrame construction and IO0.6: optional module nanuq/database on db_connector, SQLite only. PostgreSQL and MySQL to follow.
P2Library size and distributionpartlyEngine, configuration and distributionA static library of about 286 MB (53 MB download). Shared library and per-area Cargo features are in BACKLOG.
P3AvromissingDataFrame construction and IONot started.
P3CombiningpartlyDataFrame (eager)See Joins. joinWhere and mergeSorted are new in 0.6; concat align is missing.
P3Apply and iteratepartlyDataFrame (eager)mapGroups and group iteration exist. mapRows is missing. pipe is not needed in Nim: any proc chains with the dot syntax.
P3Map and UDFpartlyLazyFrameExpr mapBatches and mapGroups since 0.5. LazyFrame.map_batches is missing.
P3Batch UDFpartlyUser-defined functions and pluginsmapBatches and mapGroups since 0.5; mapRows and LazyFrame.map_batches are missing.

Catalogue↑ contents

has itpartlymissingnot plannedhas itnew in 0.6
  1. Data types
  2. Series
  3. DataFrame construction and IO
  4. DataFrame (eager)
  5. LazyFrame
  6. GroupBy
  7. Joins and concatenation
  8. Expressions: core
  9. Expressions: strings
  10. Expressions: temporal
  11. Expressions: list, array, struct, categorical, binary
  12. User-defined functions and plugins
  13. Interop with Nim and the ecosystem
  14. Engine, configuration and distribution

Data types

Polars has a closed set of Arrow-backed data types. Nanuq has a DataType for each, built from Nim types (dataType(T)) and printed as Nanuq code.

Feature group0.6.1Polars namesNotes
Booleans, integers, floatshas itBoolean, Int8..Int128, UInt8..UInt128, Float32/64Columns from every sized Nim number since 0.5. 0.6 reads UInt64 values above high(int64) and adds 128-bit integers (used by Decimal and str.toInteger).
Stringhas itString (Utf8)Builders, readers, nulls.
Nullhas itNullNull DataType and lit(nil).
Date, Datetime, Duration, Timehas itDate, Datetime(unit, tz), Duration(unit), TimeSince 0.3, mapped to Nanuq's Date and TimeOfDay and std/times DateTime and Duration.
Categorical, Enumhas itCategorical, Enum(categories)Since 0.3. A Nim enum is a Polars Enum.
List, Arrayhas itList(inner), Array(inner, width)Since 0.5, at any depth, from seq and array.
Structhas itStruct(fields)Since 0.5, from Nim objects and named tuples.
Binaryhas itBinary0.6: columns from seq[seq[byte]], read back as seq[byte].
Decimalhas itDecimal(precision, scale)0.6: read and written as strings or floats (no decimal type in Nim's stdlib).
Objectnot plannedObject (Python only)Python objects in a column; no Nim counterpart in an Arrow array.
Castinghas itExpr.cast(dtype, strict), DataFrame.cast, to_physical, shrink_dtype, reinterpretcast by Nim type, DataType, mapping or selector; toPhysical; reinterpret in 0.6. shrinkDtype is missing.
Schemahas itdf.schema, lf.collect_schema, pl.Schema, dtypesschema, collectSchema, dtypes.
Data type expressionshas itpl.dtype_of, DataTypeExpr0.6: dtypeOf, innerDtype, display.
Differences from Polars. A plain DataType value with kind and parameters instead of Python's class hierarchy; nulls are Option[T].

Series

Since 0.4 a Series is a full column: built from Nim, taken out of a frame, and computed with through expressions.

Feature group0.6.1Polars namesNotes
Construction from Nimhas itpl.Series(name, values)Every scalar, temporal and nested type, with Option[T] for nulls.
Inspectionhas itname, dtype, len, null_count, rename, alias, is_emptyisEmpty in 0.6.
Reading backhas itto_list, item, __getitem__, head, tail, slicetoList(T), item(T), s[i].
Arithmetic and comparisonhas it+ - * / % **, comparisons, &, |, ~With literals and other Series; a length-1 Series broadcasts (0.5).
Aggregationshas itsum, mean, min, max, median, std, var, quantile, n_unique, arg_min, ...Return a one-value Series; item gives the scalar.
Transformationshas itsort, unique, value_counts, fill_null, shift, cum_sum, cast, map_elements, ...Every Expr method, evaluated through expressions.
Namespaceshas itstr, dt, list, arr, struct, cat, bin on SeriesSince 0.5 (s.str, s.dt, s.list, ...); s.bin in 0.6.
Series in a framehas itdf.get_column, df['a'], to_series, insert_column, replace_columndf["a"], getColumn, toSeries, withColumns(series). No in-place insert or replace: frames are immutable.
Scatter and sethas itSeries.scatter, Series.set0.6, returning a new Series.
Sortednesshas itset_sorted, is_sorted, flags0.6: setSorted, isSorted.
Differences from Polars. Series methods run as expressions on a one-column frame instead of binding the Rust Series API twice. Aggregations return a one-value Series; read the scalar with item.

DataFrame construction and IO

Building frames and reading and writing files. Every format is compiled into the prebuilt library.

Feature group0.6.1Polars namesNotes
From columns and recordshas itpl.DataFrame({...}), from_dict, from_records, from_dictsnewDataFrame(series...), the newDataFrame block syntax, toDataFrame(seq[T]) for objects and tuples.
Empty frameshas itpl.DataFrame(schema=...), df.clear0.6: newDataFrame(schema) and clear (frames and LazyFrames).
CSV readhas itread_csv: separator, has_header, skip_rows, n_rows, columns, new_columns, schema_overrides, null_values, quote_char, encoding, try_parse_dates, ...0.2 options; 0.6 adds quoteChar, encoding (Utf8Lossy), newColumns and commentPrefix.
CSV from a string or byteshas itread_csv(io.StringIO(...)), read_csv(bytes)From a Nim Stream since 0.3.
CSV writehas itwrite_csv: separator, include_header, quote_style, float_precision, null_value
CSV scan (lazy)has itscan_csvFiles and globs, same options as readCsv.
Parquethas itread_parquet, scan_parquet, write_parquet, read_parquet_schemaSince 0.3; readParquetSchema and hivePartitioning in 0.6.
Arrow IPC / Featherhas itread_ipc, scan_ipc, write_ipc, read_ipc_streamSince 0.3; the IPC stream readers and writers in 0.6.
JSON and NDJSONhas itread_json, write_json, read_ndjson, scan_ndjson, write_ndjsonSince 0.5, paths and streams.
Avromissingread_avro, write_avroNot started.
Excelhas itread_excel, write_excel0.6: readExcel, readExcelSheets, writeExcel, built on the pure-Rust crates calamine and rust_xlsxwriter compiled into the library.
OpenDocumenthas itread_ods0.6: readOds, through calamine like readExcel.
Databasespartlyread_database, read_database_uri, write_database0.6: optional module nanuq/database on db_connector, SQLite only. PostgreSQL and MySQL to follow.
Delta Lake, Iceberg, catalogsnot plannedscan_delta, write_delta, scan_iceberg, pl.CatalogPython-only in Polars (deltalake, pyiceberg, Unity Catalog client).
Cloud storagehas itscan_*('s3://...'), storage_options, credential providers0.6: storageOptions on scan, read, write and sink for CSV, Parquet, IPC and NDJSON (s3://, gs://, az://, https://).
Streaming sinkshas itsink_parquet, sink_csv, sink_ipc, sink_ndjson, PartitionBy sinks0.6: to a path or partitioned by key, lazy = true for collectAll.
Displayhas it__repr__, _repr_html_, glimpse, describe$, toHtml, glimpse, describe.
Differences from Polars. Keyword options become Nim named parameters with defaults; file-like objects become a path or a Nim Stream.

DataFrame (eager)

The eager API. Most verbs run through the lazy engine, as in Polars itself.

Feature group0.6.1Polars namesNotes
Shape and metadatahas itshape, height, width, columns, dtypes, schema, estimated_size, is_empty, n_chunksisEmpty in 0.6. nChunks is missing.
Head, tail, slice, samplehas ithead, tail, slice, limit, sample, gather_every
Column accesshas itdf['a'], get_column, item, row, rows, iter_rows, to_dicts, rows_by_keyRows as Nim objects or tuples: row(i, T), rows(T), iterRows(T); rowsByKey (an OrderedTable) and getColumnIndex in 0.6.
Column editshas itwith_columns, drop, rename, select, hstack, with_row_index, cast
Row editshas itvstack, extend, filter, sort, unique, drop_nulls, drop_nans, fill_null, fill_nan, reverse, shiftFrame fillNan, dropNans, shift, append and remove in 0.6.
Frame aggregationshas itsum, mean, min, max, median, std, var, quantile, product, null_count, n_unique0.6 adds every frame-wide aggregation.
Reshapinghas itpivot, unpivot, explode, unnest, transpose, partition_by, to_dummies, unstackpivot and unpivot in 0.4, explode and unnest in 0.5, unstack in 0.6.
Combiningpartlyjoin, join_asof, join_where, concat, vstack, hstack, update, merge_sortedSee Joins. joinWhere and mergeSorted are new in 0.6; concat align is missing.
Equality and testinghas itequals, polars.testing.assert_frame_equal, assert_series_equalequals since 0.5; 0.6 adds the nanuq/testing module.
Apply and iteratepartlymap_rows, pipe, iter_columns, iter_slices, hash_rowsmapGroups and group iteration exist. mapRows is missing. pipe is not needed in Nim: any proc chains with the dot syntax.
SQL on frameshas itdf.sql, pl.sql, SQLContextSince 0.5, with a sqlContext macro naming tables after variables.
Lazy conversionhas itlazy, collect
Copy and memoryhas itclone, rechunk, shrink_to_fit, clear, estimated_sizeestimatedSize; rechunk, shrinkToFit and clear in 0.6. clone is not needed (frames are immutable).
Differences from Polars. Python DataFrames are mutable (df['a'] = s); Nanuq frames are immutable refs and every edit returns a new frame, like the Rust API.

LazyFrame

The query plan API, with the same verbs as the eager frame plus execution, sinks and plans.

Feature group0.6.1Polars namesNotes
Core verbshas itselect, with_columns, filter, group_by.agg, sort, limit, drop_nulls, explain, collect
More verbshas itdrop, rename, slice, head, tail, reverse, unique, fill_null, fill_nan, with_row_index, cast, interpolate, explode, unnest, unpivotLazyFrame shift, first, last and clear in 0.6. select_seq is missing.
Sort optionshas itsort(by, descending, nulls_last, maintain_order), top_k, bottom_k
Joinshas itjoin, join_asof, join_where, concat, merge_sortedSee Joins. mergeSorted in 0.6.
Groupinghas itgroup_by(maintain_order), group_by_dynamic, rolling, shortcuts0.6 adds the group-by shortcuts.
Executionhas itcollect(engine), collect_all, collect_schema, profile, explain, cache, show_graph, optimization flags0.6 adds streaming collect, explainAll, cache and the optimization flags (QueryOptFlags, including common subplan and subexpression elimination). profile went away with the move to Polars 2, as in Python. show_graph is missing.
Streaming sinkshas itsink_parquet, sink_csv, sink_ipc, sink_ndjson0.6.
Plan serializationhas itserialize, deserialize (binary or JSON)0.6, for LazyFrames and expressions, to bytes or files.
Map and UDFpartlymap_batches, map_groups, pipeExpr mapBatches and mapGroups since 0.5. LazyFrame.map_batches is missing.
SQLhas itSQLContext.register(lf).execute(...)Since 0.5.
Schema matchinghas itmatch_to_schema0.6: matchToSchema.
Differences from Polars. Same names in camelCase. The engine is an enum: collect(Engine.Streaming).

GroupBy

Grouped aggregation on eager and lazy frames.

Feature group0.6.1Polars namesNotes
group_by + agghas itgroup_by(*by, maintain_order).agg(*aggs)Keys as names or expressions; on a DataFrame agg returns a DataFrame (0.4).
Shortcut aggregationshas itlen, count, first, last, sum, mean, median, min, max, n_unique, quantile0.6.
Per-group rowshas ithead(n), tail(n), map_groups, iterating groups, partition_bypartitionBy (0.4), mapGroups (0.5); head, tail and for key, part in df.groupBy(...) in 0.6.
Temporal groupinghas itgroup_by_dynamic, rollingSince 0.4; 0.6 takes the groupBy option as names or expressions.

Joins and concatenation

Combining frames.

Feature group0.6.1Polars namesNotes
Equi joinshas itjoin(on / left_on / right_on, how, suffix, validate, nulls_equal, coalesce, maintain_order)Since 0.2, inner to cross, semi and anti.
As-of joinshas itjoin_asof(on, by, strategy, tolerance)Since 0.4.
Inequality joinshas itjoin_where(predicates)0.6.
Concatenationhas itpl.concat(how=vertical|vertical_relaxed|horizontal|diagonal|diagonal_relaxed|align)All but align.
Sorted merge, updatehas itmerge_sorted, updateupdate since 0.5; mergeSorted in 0.6.
Differences from Polars. Python's how strings become Nim enums (JoinType, ConcatHow, AsofStrategy).

Expressions: core

The expression DSL, the widest part of Polars and of Nanuq.

Feature group0.6.1Polars namesNotes
Column references and selectorshas itcol(name/names/dtype/regex), all, exclude, nth, pl.len, selectors (cs.numeric, ...)col.name shorthand, Nim typeclasses as dtype selectors, regex, selector operators; nth in 0.6 (an Expr, not a selector).
Literalshas itlit(value), lit(series), lit(None)Scalars, dates, lists, Series, nil.
Arithmetichas it+ - * / // % **, neg, abs, floordiv, truediv, add, mul, .../ is true division, div is floor; method spellings in 0.6.
Comparison and booleanhas itcomparisons, &, |, ~, xor, eq_missing, is_in, is_between, any, allxor, eqMissing and neMissing in 0.6.
Conditionalshas itwhen/then/otherwisePlus a choose macro over if/elif/else.
Aggregationshas itsum ... quantile, product, mode, arg_min, arg_max, null_count, approx_n_unique, implode, skew, kurtosis, entropyaggGroups is missing.
Null and NaN handlinghas itis_null, fill_null(value|strategy), drop_nulls, is_nan, fill_nan, drop_nans, forward_fill, interpolate, coalesce
Casting and typeshas itcast(dtype, strict), to_physical
Naminghas italias, name.keep, prefix, suffix, map, to_lowercase, to_uppercase
Ordering and selectionhas itsort, sort_by, arg_sort, head, tail, gather, top_k, search_sorted, unique, value_counts, is_duplicated, ...Since 0.4.
Elementwise mathhas itround, floor, ceil, clip, exp, log, sqrt, cbrt, trigonometry, sign, dotisClose and roundSigFigs in 0.6.
Cumulative and windowedhas itcum_*, diff, pct_change, shift, rank, rolling_*, rolling_*_by, rolling_map, ewm_*, peaks, rlerollingMap and cumulativeEval in 0.6.
Window functionshas itover(partition_by, order_by, mapping_strategy)
Horizontal and multi-columnhas itsum/min/max/mean/any/all_horizontal, concat_str, concat_list, struct, coalesce, fold, reduce, corr, covconcatArr in 0.6.
Binning and countinghas itcut, qcut, hist, value_counts, unique_countshist in 0.6.
Replacementhas itreplace, replace_strict
Ranges and generationhas itint_range(s), date_range(s), datetime_range(s), time_range, linear_space, repeat, arangeThe plural ranges, arange and timeRange(s) in 0.6.
Metahas itmeta.output_name, root_names, eq, pop, tree_format, serialize, ...0.6 completes the namespace.
Bitwisehas itbitwise_and/or/xor, bitwise_count_ones, leading/trailing zeros0.6.
Repeat and nestinghas itextend_constant, repeat_by, explode, implode, element()Since 0.5.
Differences from Polars. Nim operators cover arithmetic and comparison; and/or/not replace & | ~. Polars' method spellings (add, mul, eq, ...) also exist since 0.6. Python's method parameter is how in Nanuq.

Expressions: strings

The str namespace. Patterns are Rust regexes, as in Polars.

Feature group0.6.1Polars namesNotes
Length and casehas itlen_bytes, len_chars, to_uppercase, to_lowercase, to_titlecase, reverse
Trimming and paddinghas itstrip_chars, strip_prefix, strip_suffix, pad_start, pad_end, zfill
Searchhas itcontains, contains_any, starts_with, ends_with, find, count_matches, extract, extract_all, extract_groups, extract_many
Replace and splithas itreplace, replace_all, replace_many, split, split_exact, splitn, slice, head, tailSplits since 0.5.
Concatenationhas itstr.join, concat_str, format
Conversionhas itto_integer, to_decimal, to_date, to_datetime, strptime, json_decode, json_path_match, encode, normalize, escape_regex0.6 adds toInteger, toDecimal, encode, normalize and escapeRegex.
Differences from Polars. Names follow Polars (str.toUppercase), not strutils.

Expressions: temporal

The dt namespace and temporal helpers, since 0.3.

Feature group0.6.1Polars namesNotes
Componentshas ityear, quarter, month, week, weekday, day, ordinal_day, hour ... nanosecond, date, time, timestamp, epochfromEpoch, century, millennium and epoch in 0.6.
Rounding and offsetshas ittruncate, round, offset_by, month_start, month_end, add_business_days, dst_offsetBusiness days (addBusinessDays, isBusinessDay) and dstOffset, baseUtcOffset in 0.6.
Time zones and unitshas itconvert_time_zone, replace_time_zone, cast_time_unit, with_time_unitwithTimeUnit is missing.
Formatting and parsinghas itstrftime, to_string, strptime, to_date, to_datetime
Durationshas ittotal_days ... total_nanoseconds, duration arithmetic
Rangeshas itdate_range(s), datetime_range(s), time_range, business_day_countPlural ranges, timeRange and businessDayCount in 0.6.
Temporal grouping and joinshas itgroup_by_dynamic, rolling, upsample, join_asof
Differences from Polars. std/times DateTime carries a zone; naive Polars datetimes read as UTC.

Expressions: list, array, struct, categorical, binary

Namespaces for nested and special types.

Feature group0.6.1Polars namesNotes
List namespacehas itlist.len, aggregations, get, gather, slice, contains, unique, sort, join, eval(element()), set operations, to_struct, to_array, ...Since 0.5.
Array namespacehas itarr.sum ... get, join, sort, explode, to_list, to_struct, evalSince 0.5.
Struct namespacehas itstruct.field, rename_fields, json_encode, unnest, with_fields, pl.structpl.struct is asStruct (struct is taken by the namespace).
Categorical namespacehas itcat.get_categories, len_bytes, len_chars, starts_with, sliceSince 0.3. 0.6 drops cat.getCategories, as Polars 2 did.
Binary namespacehas itbin.contains, starts_with, ends_with, encode, decode, size, slice, head, tail, get0.6.

User-defined functions and plugins

Running Nim code inside Polars.

Feature group0.6.1Polars namesNotes
Elementwise UDFhas itExpr.map_elements, Series.map_elementsSince 0.5, 2 to 10 times faster than py-polars' map_elements; 0.6 reads numeric columns through a zero-copy view.
Batch UDFpartlymap_batches, map_groups, map_rows, LazyFrame.map_batchesmapBatches and mapGroups since 0.5; mapRows and LazyFrame.map_batches are missing.
Expression pluginshas itregister_plugin_functionregisterPluginFunction since 0.6.1. Plugins written in Nim (see nanuq-more) or in plain Rust load directly; Rust plugins built with pyo3 need libpython preloaded.
Formula-style sugarnot planned(none; Datamancer's f{})Dropped from 0.6: Polars expressions are expressive enough. Any Nim sugar would be its own design (BACKLOG).
Differences from Polars. Callbacks are typed Nim procs; exceptions become ComputeError. They run under a lock, so they are not parallel.

Interop with Nim and the ecosystem

Getting data in and out without files.

Feature group0.6.1Polars namesNotes
Plain sequenceshas itto_list, Series(list)
Datamancerhas itto_pandas / from_pandas (nearest analogue)nanuq/datamancer, copying.
Arraymancerhas itto_numpy / from_numpySince 0.4, optional module nanuq/arraymancer.
Arrow C Data Interfacehas itto_arrow, from_arrow, __arrow_c_stream__0.6: toArrow and fromArrow for Series and frames, zero-copy view(T) of numeric columns.
Row objectshas itto_dicts, iter_rows(named=True)Since 0.4, Nim objects and named tuples.
Plottingpartlydf.plot (Altair), matplotlib and plotly via pandasWorks through toSeq or toDatamancer with nim-plotly and ggplotnim. A df.plot namespace is in BACKLOG.

Engine, configuration and distribution

How queries run, how output looks, how the library ships.

Feature group0.6.1Polars namesNotes
Streaming enginehas itcollect(engine='streaming')0.6.
GPU enginenot plannedcollect(engine='gpu')Python-only (cuDF).
Confighas itpl.Config: tbl_rows, tbl_cols, fmt_str_lengths, float_precision, ascii tables, set_random_seedSetters, setConfig and the scoped withConfig; table formatting options in 0.6.
Threadinghas itpl.thread_pool_size, POLARS_MAX_THREADSthreadPoolSize in 0.6.
Error typeshas itComputeError, ColumnNotFoundError, SchemaError, ...PolarsError with Python's subtypes since 0.3.
Polars versionhas itpy-polars 2.1.00.6 builds Polars from the py-2.1.0 git tag, the same commit py-polars 2.1.0 ships, so results match Python.
Library size and distributionpartly(wheels on PyPI)A static library of about 286 MB (53 MB download). Shared library and per-area Cargo features are in BACKLOG.