koladata

Home
Overview
Fundamentals
Glossary
Cheatsheet
API Reference
Quick Recipes
Deep Dive
Common Pitfalls and Gotchas
Persistent Storage

View the Project on GitHub google/koladata

kd.allocation API

Operators that allocate new ItemIds.

kd.allocation.new_dictid()

Aliases:

Allocates new Dict ItemId.

kd.allocation.new_dictid_like(shape_and_mask_from)

Aliases:

Allocates new Dict ItemIds with the shape and sparsity of shape_and_mask_from.

kd.allocation.new_dictid_shaped(shape)

Aliases:

Allocates new Dict ItemIds of the given shape.

kd.allocation.new_dictid_shaped_as(shape_from)

Aliases:

Allocates new Dict ItemIds with the shape of shape_from.

kd.allocation.new_itemid()

Aliases:

Allocates new ItemId.

kd.allocation.new_itemid_like(shape_and_mask_from)

Aliases:

Allocates new ItemIds with the shape and sparsity of shape_and_mask_from.

kd.allocation.new_itemid_shaped(shape)

Aliases:

Allocates new ItemIds of the given shape without any DataBag attached.

kd.allocation.new_itemid_shaped_as(shape_from)

Aliases:

Allocates new ItemIds with the shape of shape_from.

kd.allocation.new_listid()

Aliases:

Allocates new List ItemId.

kd.allocation.new_listid_like(shape_and_mask_from)

Aliases:

Allocates new List ItemIds with the shape and sparsity of shape_and_mask_from.

kd.allocation.new_listid_shaped(shape)

Aliases:

Allocates new List ItemIds of the given shape.

kd.allocation.new_listid_shaped_as(shape_from)

Aliases:

Allocates new List ItemIds with the shape of shape_from.