...
Finally, let's write some JavaScript commands to see the console in action!
Tutorial Video
The DTI Team have recorded a short video introducing and describing the static console functionality below.
View file | ||||
---|---|---|---|---|
|
Console Commands
Here are common JavaScript console commands used on the static console page.
...
Code Block | ||
---|---|---|
| ||
spec = c3.EvaluateSpec( projection="ethnicity, count(ethnicity)", order='descending(count(ethnicity))', group="ethnicity" ) c3python.EvaluateResultToPandas(result=c3.SurveyData.evaluate(spec), eval_spec=spec) |
To learn more about the 'evaluate' method, please see the C3.ai resources here:
...