HCL dataframe and file methods
Manage dataframes and files in Python/HCL scripts.
| HCL method | Description |
|---|---|
| read_csv() method |
Reads a comma separated values file (*.csv) or a text file (*.txt) to an HCL dataframe. |
| from_pandas() method |
Converts a Pandas dataframe or a Pandas series to an HCL dataframe. |
| to_pandas() method |
Converts an HCL dataframe to a Pandas dataframe. |
| save_result_file() method |
Saves a result file output by a Python/HCL script during a task run. |
| save_working_file() method |
Saves a file produced by a Python/HCL script to the Working data area where it is stored for future use, or for historical purposes. |
| load_working_file() method |
Loads a working file from the Working data area to make the file available for Python/HCL scripting. The loaded file is a copy, not the original. |
| from_hb_results() method |
Imports a Results table to an HCL dataframe. |
| to_hb_results() method |
Saves an HCL dataframe to a Results table. |
| publish() method |
Saves a Pandas or HCL dataframe to an Activity Center dataset. |