PropType

PropType provides access to the types used by Raphtory. They can be used to specify the data type of different properties, which is especially useful if one wishes to cast some input column from one type to another during ingestion. PropType can be used to define the schema in the various load_* functions used for data ingestion (i.e. Graph.load_nodes(...)/Graph.load_edges(...) etc.)

Methods


Method Details

array

Signature: array(p)

Parameters

NameTypeDefaultDescription
pAny-

bool

datetime

f32

f64

i32

i64

list

Signature: list(p)

Parameters

NameTypeDefaultDescription
pAny-

map

Signature: map(hash_map)

Parameters

NameTypeDefaultDescription
hash_mapAny-

naive_datetime

str

u16

u32

u64

u8