utils.notebookhelpers.utils

Module Contents

Classes

Utils

Attributes

logger

utils.notebookhelpers.utils.logger
class utils.notebookhelpers.utils.Utils
static isProduction()
static getArtifactsDir(tenant_id, folderName)
static get_dataapp_config_dir(tenant_id, project_id, scenario_id)
static writeFile(filePath, contents)
static readFile(filePath)
static read_data_frame(file_path, num_rows=None, pandas_lib=None, reader_options={}, schema=None)
static read_excel(file_path, num_rows=None, pandas_lib=None)
static readCSV(filePath, numRows=None, pandas_lib=None, reader_options={})
static readParquet(filePath, numRows=None, pandas_lib=None)
static getStreamlitUrl()
static getMountedDir()
static getTempDir()
static getUploadsDir()
static getChartsDir()
static download_file_to_folder(remote_file_path: str, folder_path: str = None, file_name: str = None)
static write_data_frame(df, file_path, writer_options={})
static get_data_types_from_schema(schema)