polars Module prelude Copy item path Source _csv_read_internal polars-io
_internal polars-io
aggregations arity array polars-ops
and dtype-array
binary lazy
buffer polars-io
byte_source polars-io
and cloud
cat lazy
and dtype-categorical
chunkedarray temporal
Traits and utilities for temporal data. cloud polars-io
Interface with cloud storage through the object_store crate. compression polars-io
concat_arr polars-ops
and dtype-array
datatypes Data types supported by Polars. datetime polars-ops
and timezones
default_arrays dt lazy
and temporal
expr file polars-io
fill_null fixed_size_list dtype-array
float_sorted_arg_max full function_expr lazy
gather interpolate polars-ops
and interpolate
interpolate_by polars-ops
and interpolate_by
mode polars-ops
and mode
nan_propagating_aggregate polars-ops
and propagate_nans
null replace temporal
and (dtype-date
or dtype-datetime
)row_encode schema_inference polars-io
search_sorted series temporal
sort strings polars-ops
udf lazy
utf8 zip zip_with
df polars_bail polars_ensure polars_err polars_warn AnonymousScanArgs lazy
AnonymousScanOptions lazy
Arc A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically
Reference Counted’. ArrayNameSpace lazy
Specialized expressions for Series
of DataType::Array
. ArrowField Represents Arrow’s metadata of a “column”. AsOfOptions polars-ops
BatchedCsvReader polars-io
BatchedParquetReader polars-io
BinaryOffsetType BinaryType BooleanChunkedBuilder BooleanType Bounds temporal
BoundsIter temporal
BrotliLevel polars-io
A valid Brotli compression level. CatIter CategoricalChunked CategoricalChunkedBuilder CategoricalNameSpace lazy
Specialized expressions for Categorical dtypes. CategoricalType ChainedThen lazy
Utility struct for the when-then-otherwise
expression. ChainedWhen lazy
Utility struct for the when-then-otherwise
expression. ChunkId ChunkedArray ChunkedArray CompatLevel CrossJoinOptions polars-ops
CsvParseOptions polars-io
CsvReadOptions polars-io
CsvReader polars-io
Create a new DataFrame by reading a csv file. CsvWriter polars-io
Write a DataFrame to csv. CsvWriterOptions polars-io
Options for writing CSV files. DataFrame A contiguous growable collection of Series
that have the same length. DateType DatetimeArgs lazy
Arguments used by datetime
in order to produce an Expr
of Datetime DatetimeType DecimalType Dimension Duration lazy
DurationArgs lazy
Arguments used by duration
in order to produce an Expr
of Duration
DurationType DynamicGroupOptions lazy
ExprNameNameSpace lazy
Specialized expressions for modifying the name of existing expressions. FalseT Field Characterizes the name and the DataType
of a column. FieldsMapper lazy
FileMetadata polars-io
Metadata for a Parquet file. FixedSizeListType dtype-array
Float32Type Float64Type GlobalRevMapMerger GroupBy Returned by a group_by operation on a DataFrame. This struct supports
several aggregations. GroupPositions GroupsIdx Indexes of the groups, the first index is stored separately.
this make sorting fast. GroupsTypeIter GroupsTypeParIter GzipLevel polars-io
A valid Gzip compression level. IEJoinOptions polars-ops
InProcessQuery lazy
Int8Type Int16Type Int32Type Int64Type Int128Type IpcReadOptions polars-io
IpcReader polars-io
Read Arrows IPC format into a DataFrame IpcReaderAsync polars-io
An Arrow IPC reader implemented on top of PolarsObjectStore. IpcScanOptions polars-io
IpcStreamReader polars-io
Read Arrows Stream IPC format into a DataFrame IpcStreamWriter polars-io
Write a DataFrame to Arrow’s Streaming IPC format IpcStreamWriterOption polars-io
IpcWriter polars-io
Write a DataFrame to Arrow’s IPC format IpcWriterOptions polars-io
JoinArgs lazy
JoinBuilder lazy
JoinOptions lazy
JsonLineReader polars-io
JsonReader polars-io
Reads JSON in one of the formats in JsonFormat
into a DataFrame. JsonWriter polars-io
Writes a DataFrame to JSON. JsonWriterOptions polars-io
LazyCsvReader lazy
and csv
LazyFrame lazy
Lazy abstraction over an eager DataFrame
. LazyGroupBy lazy
Utility struct for lazy group_by operation. LazyJsonLineReader lazy
ListBinaryChunkedBuilder ListBooleanChunkedBuilder ListNameSpace lazy
Specialized expressions for Series
of DataType::List
. ListPrimitiveChunkedBuilder ListStringChunkedBuilder ListType Logical Maps a logical type to a chunked array implementation of the physical type.
This saves a lot of compiler bloat and allows us to reuse functionality. NoNull Just a wrapper structure which is useful for certain impl specializations. Null lazy
The literal Null NullableIdxSize ObjectType object
OptFlags lazy
Allowed optimizations. OwnedBatchedCsvReader polars-io
OwnedObject object
ParquetAsyncReader polars-io
and cloud
A Parquet reader on top of the async object_store API. Only the batch reader is implemented since
parquet files on cloud storage tend to be big and slow to access. ParquetOptions polars-io
ParquetReader polars-io
Read Apache parquet format into a DataFrame. ParquetWriteOptions polars-io
ParquetWriter polars-io
Write a DataFrame to Parquet format. PlSmallStr String type that inlines small strings. PrimitiveChunkedBuilder RankOptions lazy
RollingCovOptions lazy
RollingGroupOptions lazy
RollingOptionsDynamicWindow temporal
RollingOptionsFixedWindow RollingQuantileParams RollingVarParams Scalar ScanArgsAnonymous lazy
ScanArgsIpc lazy
ScanArgsParquet lazy
SerializeOptions polars-io
Options to serialize logical types to CSV. Series Series SortMultipleOptions Sort options for multi-series sorting. SortOptions Options for single series sorting. SpecialEq lazy
Wrapper type that has special equality properties
depending on the inner type specialization SplitNChars polars-ops
StatisticsOptions polars-io
The statistics to write StringCacheHolder Enable the global string cache as long as the object is alive (RAII ). StringType StrptimeOptions lazy
StructArray polars-io
A StructArray
is a nested Array
with an optional validity representing
multiple Array
with the same number of rows. StructNameSpace lazy
Specialized expressions for Struct dtypes. StructType dtype-struct
Then lazy
Utility struct for the when-then-otherwise
expression. TimeType TrueT UInt8Type UInt16Type UInt32Type UInt64Type UnionArgs lazy
UnpivotArgsDSL lazy
UnpivotArgsIR Arguments for LazyFrame::unpivot
function UserDefinedFunction lazy
Represents a user-defined function When lazy
Utility struct for the when-then-otherwise
expression. Window temporal
Represents a window in time ZstdLevel polars-io
A valid Zstandard compression level. AggExpr lazy
Ambiguous AnyValue ArrowDataType The set of supported logical types in this crate. ArrowTimeUnit The time units defined in Arrow. AsofStrategy polars-ops
BooleanFunction lazy
CategoricalFunction lazy
CategoricalOrdering ClosedInterval polars-ops
ClosedWindow temporal
Column A column within a DataFrame
. CommentPrefix polars-io
CsvEncoding polars-io
DataType DslPlan lazy
Excluded lazy
Expr lazy
Expressions that can be used in various contexts. FillNullStrategy FunctionExpr lazy
GroupByMethod GroupsIndicator GroupsType IndexOrder InequalityOperator polars-ops
InterpolationMethod polars-ops
IpcCompression polars-io
Compression codec JoinCoalesce polars-ops
JoinType lazy
JoinTypeOptions polars-ops
JoinTypeOptionsIR lazy
JoinValidation lazy
JsonFormat polars-io
The format to use to write the DataFrame to JSON: Json
(a JSON array)
or JsonLines
(each row output on a separate line). Label temporal
LazySerde lazy
LiteralValue lazy
MaintainOrderJoin polars-ops
NestedType lazy
NonExistent NullStrategy polars-ops
NullValues polars-io
Operator lazy
ParallelStrategy polars-io
ParquetCompression polars-io
The compression strategy to use for writing Parquet files. ParquetStatistics polars-io
Parquet statistics for a nesting level PolarsError PowFunction lazy
QuantileMethod QuoteStyle polars-io
Quote style indicating when to insert quotes around a field. RankMethod lazy
ReshapeDimension A dimension in a reshape. RevMapping RollingFnParams SearchSortedSide polars-ops
Selector lazy
StartBy temporal
StringFunction lazy
StructFunction lazy
TemporalFunction lazy
TimeUnit UniqueKeepStrategy UnknownKind WindowMapping lazy
WindowType lazy
IDX_DTYPE Non-bigidx
NULL lazy
URL_ENCODE_CHAR_SET polars-io
BOOLEAN_RE polars-io
EXTENSION_NAME FLOAT_RE polars-io
FLOAT_RE_DECIMAL polars-io
INTEGER_RE polars-io
POLARS_TEMP_DIR_BASE_PATH polars-io
AnonymousScan lazy
ArgAgg polars-ops
Argmin/ Argmax ArithmeticChunked ArrayCollectIterExt ArrayFromIter ArrayFromIterDtype AsBinary polars-ops
AsList polars-ops
AsRefDataType AsString polars-ops
AsofJoin polars-ops
AsofJoinBy polars-ops
BinaryNameSpaceImpl polars-ops
BinaryUdfOutputField lazy
CategoricalMergeOperation ChunkAgg Aggregation operations. ChunkAggSeries Aggregations that return Series
of unit length. Those can be used in broadcasting operations. ChunkAnyValue ChunkApply Fastest way to do elementwise operations on a ChunkedArray<T>
when the operation is cheaper than
branching due to null checking. ChunkApplyKernel Apply kernels on the arrow array chunks in a ChunkedArray. ChunkApproxNUnique approx_unique
ChunkBytes ChunkCast Cast ChunkedArray<T>
to ChunkedArray<N>
ChunkCompareEq Compare Series
and ChunkedArray
’s and get a boolean
mask that
can be used to filter rows. ChunkCompareIneq Compare Series
and ChunkedArray
’s using inequality operators (<
, >=
, etc.) and get
a boolean
mask that can be used to filter rows. ChunkExpandAtIndex Create a new ChunkedArray filled with values at that index. ChunkExplode Explode/flatten a List or String Series ChunkFillNullValue Replace None values with a value ChunkFilter Filter values by a boolean mask. ChunkFull Fill a ChunkedArray with one value. ChunkFullNull ChunkQuantile Quantile and median aggregation. ChunkReverse Reverse a ChunkedArray<T>
ChunkRollApply rolling_window
This differs from ChunkWindowCustom and ChunkWindow
by not using a fold aggregator, but reusing a Series
wrapper and calling Series
aggregators.
This likely is a bit slower than ChunkWindow ChunkSet Create a ChunkedArray
with new values by index or by boolean mask. ChunkShift ChunkShiftFill Shift the values of a ChunkedArray
by a number of periods. ChunkSort Sort operations on ChunkedArray
. ChunkTake ChunkTakeUnchecked ChunkUnique Get unique values in a ChunkedArray
ChunkVar Variance and standard deviation aggregation. ChunkZip Combine two ChunkedArray
based on some predicate. ChunkedBuilder ChunkedCollectInferIterExt ChunkedCollectIterExt ChunkedSet polars-ops
ColumnBinaryUdf lazy
A wrapper trait for any binary closure Fn(Column, Column) -> PolarsResult<Column>
ColumnsUdf lazy
A wrapper trait for any closure Fn(Vec<Series>) -> PolarsResult<Series>
CrossJoin polars-ops
CrossJoinFilter polars-ops
DataFrameJoinOps polars-ops
DataFrameOps polars-ops
DateMethods temporal
DatetimeMethods temporal
DurationMethods temporal
ExprEvalExtension lazy
FromData FromDataBinary FromDataUtf8 FunctionOutputField lazy
GetAnyValue IndexToUsize InitHashMaps InitHashMaps2 IntoColumn Convert Self
into a Column
IntoGroupsType Used to create the tuples for a group_by operation. IntoLazy lazy
IntoListNameSpace lazy
IntoMetadata IntoScalar IntoSeries Used to convert a ChunkedArray
, &dyn SeriesTrait
and Series
into a Series
. IntoVec Convenience for x.into_iter().map(Into::into).collect()
using an into_vec()
function. IsFirstDistinct is_first_distinct
Mask the first unique values as true
IsLastDistinct is_last_distinct
Mask the last unique values as true
JoinDispatch polars-ops
LazyFileListReader lazy
Reads LazyFrame from a filesystem or a cloud storage.
Supports glob patterns. LhsNumOps ListBuilderTrait ListFromIter ListNameSpaceExtension lazy
ListNameSpaceImpl polars-ops
Literal lazy
LogicalType MetaDataExt MinMaxHorizontal polars-ops
NamedFrom NamedFromOwned NewChunkedArray NumOpsDispatch NumOpsDispatchChecked NumericNative PolarsDataType Safety PolarsFloatType PolarsIntegerType PolarsIterator A PolarsIterator
is an iterator over a ChunkedArray
which contains polars types. A PolarsIterator
must implement ExactSizeIterator
and DoubleEndedIterator
. PolarsNumericType PolarsObject Values need to implement this so that they can be stored into a Series and DataFrame PolarsRound temporal
PolarsTemporalGroupby lazy
PolarsTruncate temporal
PolarsUpsample temporal
QuantileAggSeries Reinterpret reinterpret
RenameAliasFn lazy
RollingSeries polars-ops
RoundSeries polars-ops
SchemaExt SchemaExtPl SchemaNamesAndDtypes SerReader polars-io
SerWriter polars-io
SeriesJoin polars-ops
SeriesMethods polars-ops
SeriesOpsTime temporal
SeriesRank polars-ops
SeriesSealed polars-ops
SeriesTrait SlicedArray Utility trait to slice concrete arrow arrays whilst keeping their
concrete type. E.g. don’t return Box<dyn Array>
. StaticArray StringMethods temporal
StringNameSpaceImpl polars-ops
SumMeanHorizontal polars-ops
TakeChunked polars-ops
Gather by ChunkId
TakeChunkedHorPar polars-ops
TemporalMethods temporal
TimeMethods temporal
ToDummies polars-ops
UdfSchema lazy
VarAggSeries VecHash _coalesce_full_join polars-ops
_join_suffix_name polars-ops
_set_check_length ⚠ Meant for internal use. In very rare conditions this can be turned off. abs polars-ops
Convert numerical values to their absolute value. all lazy
Selects all columns. Shorthand for col("*")
. all_horizontal lazy
Create a new column with the bitwise-and of the elements in each row. any_horizontal lazy
Create a new column with the bitwise-or of the elements in each row. apply_binary lazy
Like map_binary
, but used in a group_by-aggregation context. apply_multiple lazy
Apply a function/closure over the groups of multiple columns. This should only be used in a group_by aggregation. apply_projection polars-io
and (ipc
or ipc_streaming
or parquet
or avro
)arange lazy
Generate a range of integers. arg_sort_by lazy
and range
Find the indexes that would sort these series in order of appearance. arg_where lazy
and arg_where
Get the indices where condition
evaluates true
. as_struct lazy
Take several expressions and collect them into a StructChunked
. avg lazy
Find the mean of all the values in the column named name
. Alias for mean
. base_utc_offset temporal
and timezones
binary_expr lazy
Compute op(l, r)
(or equivalently l op r
). l
and r
must have types compatible with the Operator. call_categorical_merge_operation cast lazy
Casts the column given by Expr
to a different type. clip polars-ops
Set values outside the given boundaries to the boundary value. clip_max polars-ops
Set values above the given maximum to the maximum value. clip_min polars-ops
Set values below the given minimum to the minimum value. coalesce lazy
Folds the expressions from left to right keeping the first non-null values. coalesce_columns polars-ops
col lazy
Create a Column Expression based on a column name. collect_all lazy
Collect all LazyFrame
computations. cols lazy
Select multiple columns by name. columns_to_projection polars-io
and (ipc
or ipc_streaming
or avro
or parquet
)concat lazy
Concat multiple LazyFrame
s vertically. concat_arr lazy
Horizontally concatenate columns into a single array-type column. concat_expr lazy
concat_lf_diagonal lazy
and diagonal_concat
Concat LazyFrame s diagonally.
Calls concat
internally. concat_lf_horizontal lazy
Concat LazyFrame s horizontally. concat_list lazy
Concat lists entries. concat_str concat_str
and strings
and lazy
Horizontally concat string columns in linear time convert_inner_type Cast null arrays to inner type and ensure that all offsets remain correct convert_to_unsigned_index polars-ops
count_ones polars-ops
count_rows polars-io
Read the number of rows without parsing columns
useful for count(*) queries count_rows_from_slice polars-io
Read the number of rows without parsing columns
useful for count(*) queries count_zeros polars-ops
create_enum_dtype dtype-categorical
create_sorting_map polars-io
cum_count polars-ops
cum_fold_exprs lazy
and dtype-struct
Accumulate over multiple columns horizontally / row wise. cum_max polars-ops
Get an array with the cumulative max computed at every element. cum_min polars-ops
Get an array with the cumulative min computed at every element. cum_prod polars-ops
Get an array with the cumulative product computed at every element. cum_reduce_exprs lazy
and dtype-struct
Accumulate over multiple columns horizontally / row wise. cum_sum polars-ops
Get an array with the cumulative sum computed at every element date_ranges lazy
and temporal
Create a column of date ranges from a start
and stop
expression. datetime lazy
Construct a column of Datetime
from the provided DatetimeArgs
. datetime_range lazy
and dtype-datetime
Create a datetime range from a start
and stop
expression. datetime_ranges lazy
and dtype-datetime
Create a column of datetime ranges from a start
and stop
expression. datetime_to_timestamp_ms datetime_to_timestamp_ns datetime_to_timestamp_us decode_json_response polars-io
and cloud
Utility for decoding JSON that adds the response value to the error message if decoding fails.
This makes it much easier to debug errors from parsing network responses. default_join_ids polars-ops
deserialize polars-io
Deserializes the statistics in the column chunks from a single row_group
into Statistics
associated from field
’s name. diff polars-ops
dst_offset temporal
and timezones
dtype_col lazy
Select multiple columns by dtype. dtype_cols lazy
Select multiple columns by dtype. duration lazy
Construct a column of Duration
from the provided DurationArgs
ensure_duration_matches_dtype temporal
ensure_is_constant_duration temporal
ensure_matching_schema escape_regex polars-ops
escape_regex_str polars-ops
expand_paths polars-io
Recursively traverses directories and expands globs if glob
is true
. expand_paths_hive polars-io
Recursively traverses directories and expands globs if glob
is true
.
Returns the expanded paths and the index at which to start parsing hive
partitions from the path. expanded_from_single_directory polars-io
Returns true
if expanded_paths
were expanded from a single directory first lazy
First column in a DataFrame. floor_div_series polars-ops
fmt_group_by_column fold_exprs lazy
Accumulate over multiple columns horizontally / row wise. format_str concat_str
and strings
and lazy
Format the results of an array of expressions using a format string get_encodings polars-io
get_glob_start_idx polars-io
Get the index of the first occurrence of a glob symbol. get_reader_bytes polars-io
get_strftime_format group_by_values temporal
Different from group_by_windows
, where define window buckets and search which values fit that
pre-defined bucket. group_by_windows temporal
Window boundaries are created based on the given Window
, which is defined by: hor_str_concat polars-ops
Horizontally concatenate all strings. impl_duration polars-ops
impl_replace_time_zone polars-ops
impl_replace_time_zone_fast polars-ops
If ambiguous
is length-1 and not equal to “null”, we can take a slightly faster path. in_nanoseconds_window temporal
index_cols lazy
Select multiple columns by index. indexes_to_usizes infer_file_schema polars-io
Infer the schema of a CSV file by reading through the first n rows of the file,
with max_read_rows
controlling the maximum number of rows to read. infer_schema polars-io
Infers a ArrowSchema
from parquet’s FileMetadata
. int_range lazy
Generate a range of integers. int_ranges lazy
Generate a range of integers for each row of the input columns. interpolate polars-ops
interpolate_by polars-ops
is_between polars-ops
is_cloud_url polars-io
Check if the path is a cloud url. is_first_distinct polars-ops
is_in polars-ops
is_last_distinct polars-ops
is_not_null lazy
A column which is false
wherever expr
is null, true
elsewhere. is_null lazy
A column which is true
wherever expr
is null, false
elsewhere. is_positive_idx_uncertain polars-ops
May give false negatives because it ignores the null values. is_positive_idx_uncertain_col polars-ops
May give false negatives because it ignores the null values. last lazy
Last column in a DataFrame. leading_ones polars-ops
leading_zeros polars-ops
len lazy
Return the number of rows in the context. linear_space lazy
Generate a series of equally-spaced points. lit lazy
Create a Literal Expression from L
. A literal expression behaves like a column that contains a single distinct
value. make_categoricals_compatible make_list_categoricals_compatible map_binary lazy
Apply a closure on the two columns that are evaluated from Expr
a and Expr
b. map_list_multiple lazy
Apply a function/closure over multiple columns once the logical plan get executed. map_multiple lazy
Apply a function/closure over multiple columns once the logical plan get executed. materialize_empty_df polars-io
materialize_projection polars-io
max lazy
Find the maximum of all the values in the column named name
. Shorthand for col(name).max()
. mean lazy
Find the mean of all the values in the column named name
. Shorthand for col(name).mean()
. median lazy
Find the median of all the values in the column named name
. Shorthand for col(name).median()
. merge_dtypes min lazy
Find the minimum of all the values in the column named name
. Shorthand for col(name).min()
. negate polars-ops
negate_bitwise polars-ops
new_int_range polars-ops
new_linear_space_f32 polars-ops
new_linear_space_f64 polars-ops
not lazy
Negates a boolean column. nth lazy
Nth column in a DataFrame. overwrite_schema polars-io
and json
prepare_cloud_plan lazy
Prepare the given DslPlan
for execution on Polars Cloud. private_left_join_multiple_keys polars-ops
quantile lazy
Find a specific quantile of all the values in the column named name
. reduce_exprs lazy
Analogous to Iterator::reduce
. remove_bom polars-io
repeat lazy
Create a column of length n
containing n
copies of the literal value
. repeat_by polars-ops
replace polars-ops
Replace values by different values of the same data type. replace_date temporal
and dtype-date
Replace specific time component of a DateChunked
with a specified value. replace_datetime temporal
and dtype-datetime
Replace specific time component of a DatetimeChunked
with a specified value. replace_or_default polars-ops
Replace all values by different values. replace_strict polars-ops
Replace all values by different values. replace_time_zone polars-ops
resolve_homedir polars-io
Replaces a “~” in the Path with the home directory. split_helper polars-ops
split_to_struct polars-ops
and dtype-struct
str_join polars-ops
strip_chars polars-ops
strip_chars_end polars-ops
strip_chars_start polars-ops
strip_prefix polars-ops
strip_suffix polars-ops
sum lazy
Sum all the values in the column named name
. Shorthand for col(name).sum()
. ternary_expr lazy
time_ranges lazy
and dtype-time
Create a column of time ranges from a start
and stop
expression. trailing_ones polars-ops
trailing_zeros polars-ops
try_set_sorted_flag polars-io
unique_counts polars-ops
Returns a count of the unique values in the order of appearance. when lazy
Start a when-then-otherwise
expression. write_partitioned_dataset polars-io
Write a partitioned parquet dataset. This functionality is unstable. AllowedOptimizations lazy
AllowedOptimizations ArrayChunked dtype-array
ArrayRef ArrowSchema An ordered sequence of Field
s BinaryChunked BinaryChunkedBuilder BinaryOffsetChunked BooleanChunked BorrowIdxItem ChunkJoinOptIds polars-ops
and chunked_ids
DateChunked DatetimeChunked DecimalChunked DurationChunked FieldRef FieldsNameMapper lazy
and dtype-struct
FileMetadataRef polars-io
FillNullLimit Float32Chunked Float64Chunked GetOutput lazy
GroupsSlice Every group is indicated by an array where the IdxArr IdxCa Non-bigidx
IdxItem IdxSize Non-bigidx
IdxType Non-bigidx
InnerJoinIds polars-ops
Int8Chunked Int16Chunked Int32Chunked Int64Chunked Int128Chunked dtype-i128
LargeBinaryArray LargeListArray LargeStringArray LeftJoinIds polars-ops
ListChunked ObjectChunked object
OpaqueColumnUdf lazy
PlHashMap PlHashSet PlIdHashMap This hashmap uses an IdHasher PlIndexMap PlIndexSet PlRandomState PolarsResult QuantileInterpolOptions Deprecated RowGroupIterColumns polars-io
Schema SchemaRef StringChunked StringChunkedBuilder StructChunked TimeChunked TimeZone UInt8Chunked UInt16Chunked UInt32Chunked UInt64Chunked