AI开发平台MODELARTS-数据压缩:样例

时间:2024-04-30 17:04:14

样例

inputs = {
    "dataframe": None,  # @input {"label":"dataDF","type":"DataFrame"}
}
params = {
    "inputs": inputs,
    "data_delimeter": ",",  # @param {"label":"data_delimeter","type":"string","required":"false","helpTip":""}
    "compression_type": "Bzip2",  # @param {"label":"task","type":"enum", "options":"Bzip2,deflate,Gzip","required":"true","helpTip":""}
    "data_partition": 1,  # @param {"label":"data_partition","type":"int","required":"false","helpTip":""}
    "data_path": "",  # @param {"label":"data_path","type":"path","required":"true","helpTip":""}
}
execute_compress____id___ = MLSSaveWithCompression(**params)
execute_compress____id___.run()
support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0262.html