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
| Name | Type | Default | Description |
|---|---|---|---|
p | Any | - |
bool
datetime
f32
f64
i32
i64
list
Signature: list(p)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
p | Any | - |
map
Signature: map(hash_map)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
hash_map | Any | - |