KrySA » Tasks » Basic

class tasks.basic.Basic[source]

All Task s categorized as basic under one roof.

New in version 0.1.0.

basic_count(*args)[source]

Open a tasks.Task with a tasks.AddressLayout that gets from user Data address. Create a result page with count.

New in version 0.1.0.

basic_countif(*args)[source]

Open a tasks.Task with a tasks.CountIfLayout that gets from user Data address and conditions for getting values. Create a result page with count and conditions.

This method uses Python’s eval() and executing of boolean logic, which means the order of executed conditions will be like this:

((Cond and Cond) and Cond) or (Cond) or (Cond and Cond)
  ^-- first   second --^       ^-- third   ^-- fourth

New in version 0.5.1.

basic_freq(*args)[source]

Open a tasks.Task with a tasks.FreqLayout that gets from user:

  • Data address
  • type of frequency (absolute, relative or cumulative
  • bins
  • lower and upper limit (optional, by default takes min and max)

Depending on the inputed bins:

  • Count of equal-width bins
  • Edges manually created edges for non-uniform bin widths. It already contains minimum and maximum of the values list.
  • Calculate uses NumPy’s way for creating an optimal bin width.

The function creates a result page with a table for chosen types of frequency. If necessary, you can set the maximal amount of decimal digits for the frequency outputs.

New in version 0.3.2.

Changed in version 0.3.8: Switch from SciPy’s frequency functions to NumPy’s histogram which removes intervals option as this is already handled by histogram.

Changed in version 0.3.9: Added precision.

basic_large(*args)[source]

Open 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. Create a result page with k-th value.

New in version 0.1.0.

basic_max(*args)[source]

Open a tasks.Task with a tasks.AddressLayout that gets from user Data address. Create a result page with maximum.

New in version 0.1.0.

basic_min(*args)[source]

Open a tasks.Task with a tasks.AddressLayout that gets from user Data address. Create a result page with minimum.

New in version 0.1.0.

basic_small(*args)[source]

Open 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. Create a result page with the k-th value.

New in version 0.1.0.