Node Functions
sr_count
node SERIES.sr_count()
Arguments:
Number of series in the node
sr_list
node SERIES.sr_list()
Arguments:
List all series in the node
sr_dtype
node SERIES.sr_dtype(name: '& str', safe: 'bool' = false)
Arguments:
name: '& str'=> Name of the seriessafe: 'bool' = false=> Do not error if series does’t exist
Type name of the series
sr_len
node SERIES.sr_len(
name: '& str',
safe: 'bool' = false,
countna: 'bool' = true
)
Arguments:
name: '& str'=> Name of the seriessafe: 'bool' = false=> Do not error if series does’t existcountna: 'bool' = true=> count na values in the length
Length of the series
sr_mean
node SERIES.sr_mean(name: '& str')
Arguments:
name: '& str'=> Name of the series
Mean of a series values
sr_sum
node SERIES.sr_sum(name: '& str')
Arguments:
name: '& str'=> Name of the series
Sum of the series values
set_series
node SERIES.set_series(
name: '& str',
value: 'Attribute',
dtype: '& str'
)
Arguments:
name: '& str'=> Name of the series to save asvalue: 'Attribute'=> Argument to convert to seriesdtype: '& str'=> type
set the following series to the node
sr_delete
node SERIES.sr_delete(name: '& str')
Arguments:
name: '& str'=> Name of the series to delete from this node
Delete the series with the given name
sr_sort
node SERIES.sr_sort(name: '& str')
Arguments:
name: '& str'=> Name of the series
Sort an series
sr_get
node SERIES.sr_get(name: '& str', ind: 'usize')
Arguments:
name: '& str'=> Name of the seriesind: 'usize'=> index to get
get nth member of a series
sr_to_array
node SERIES.sr_to_array(name: '& str', safe: 'bool' = false)
Arguments:
name: '& str'=> Name of the seriessafe: 'bool' = false=> Do not error if series does’t exist or there are gaps
Make an array from the series if it’s complete
sr_fill
node SERIES.sr_fill(
name: '& str',
value: 'Attribute',
inplace: 'bool' = true,
newname: 'Option < String >'
)
Arguments:
name: '& str'=> Name of the seriesvalue: 'Attribute'=> Value to fill the series with: needs to be same typeinplace: 'bool' = true=> Fill the series inplacenewname: 'Option < String >'=> New name for the series, adds_filledby default; ignored for inplace
Fill the series with a value