KrySA » Tasks » Basic

class tasks.basic.Basic[source]

All Task s categorized as basic under one roof.

New in version 0.1.0.

static _basic_count(task, address, *args)[source]

Gets the values from address and returns the count.

New in version 0.1.0.

static _basic_freq(task, address, bins, limits, freq_type, intervals, *args)[source]

Gets the values from address and depending on the type of values dumps them either into bins of size 1 (integers) or into bins that consist of intervals (real numbers). Then according to the size of bins and limits of the frequency creates a table for chosen types of frequency.

May return a warning if intervals option isn’t checked for values containing real numbers:

IndexError: index max(<values>) + 1> is out of bounds for axis 1
with size max(<values>) + 1>

New in version 0.3.2.

static _basic_large(task, address, k, *args)[source]

Gets the values from address and returns the k-th value from the descending list of sorted values.

New in version 0.1.0.

static _basic_max(task, address, *args)[source]

Gets the values from address and returns a maximum.

New in version 0.1.0.

static _basic_min(task, address, *args)[source]

Gets the values from address and returns a minimum.

New in version 0.1.0.

static _basic_small(task, address, k, *args)[source]

Gets the values from address and returns the k-th value from the ascending list of sorted values.

New in version 0.1.0.

basic_count(*args)[source]

Opens a tasks.Task with a tasks.AddressLayout that gets from user Data address.

New in version 0.1.0.

basic_countifs(*args)[source]

Not yet implemented.

basic_freq(*args)[source]

(Not fully tested yet) Opens a tasks.Task with a tasks.FreqLayout that gets from user:

  • Data address
  • type of values (interval for real numbers)
  • type of frequency (absolute, relative or cumulative
  • number of bins (optional)
  • upper and lower limit (optional)

New in version 0.3.2.

basic_large(*args)[source]

Opens a tasks.Task with a tasks.SmallLargeLayout that gets from user Data address and k variable representing the k-th value from the Task s output.

New in version 0.1.0.

basic_max(*args)[source]

Opens a tasks.Task with a tasks.AddressLayout that gets from user Data address.

New in version 0.1.0.

basic_min(*args)[source]

Opens a tasks.Task with a tasks.AddressLayout that gets from user Data address.

New in version 0.1.0.

basic_small(*args)[source]

Opens a tasks.Task with a tasks.SmallLargeLayout that gets from user Data address and k variable representing the k-th value from the Task s output.

New in version 0.1.0.