The Python Data Calculation Modules (PythonDataCalculationModules) Data Block is an Configuration Data Block and is not edited. The following details are informational only.
The Python Data Calculation Modules (PythonDataCalculationModules) Data Block defines a set of Python libraries to be imported into a script. It includes common libraries like pandas, numpy, json, datetime, and calendar, each with their respective aliases. The Python Data Calculation Modules (PythonDataCalculationModules) Data Block ensures these libraries are available for use in the script under their specified aliases. This Data Block is not edited. If additional Python libraries or modules need to be imported create a new Data Block instead.
Libraries Imported:
- pandas is imported as
pdfor data manipulation and analysis. - numpy is imported as
npfor numerical operations. - json is imported as
jsonfor handling JSON data. - datetime is imported as
datetimefor working with dates and times. - calendar is imported as
calfor managing calendar-related operations.
General Info #
The following table shows the default fields of the Data Block.
| Field | Value |
|---|---|
| Name | PythonDataCalculationModules |
| Block Category | Configuration |
| Block Type | Python Environment |
| Data Category | None |
| Output Type | None |
Dependencies #
None
Columns #
None
Example Definition #
{
"imports": [
{"name": "pandas","as": "pd"},
{"name": "numpy","as": "np"},
{"name": "json","as": "json"},
{"name": "datetime","as": "datetime"},
{"name": "calendar","as": "cal"}
]
}