Skip to main content

system.kanoa.utilities.printDataset(data, params, dict)

Given a dataset, this functions prints out its contents formatted based on the paramsDict keys. paramsDict keys are optional. Note: Text is printed out to the Output Console not the Script Console.


Parameters

data pyDataset: Can also be passed a basic dataset
params `<br /> **dict** Dictionary`

- rowsIntegerLimits the number of rows to print
- titleStringPrints a title before the results
- wideBooleanSwitches the output between wide (columns for each field) and tall (rows for each field)

Returns

None


Example

data = system.kanoa.shift.getShiftNames({})
system.kanoa.utilities.printDataset(data, {})