更新时间:2022-09-01 GMT+08:00
分享

散点图

概述

对数据集画出对应的散点图。

输入

参数

子参数

参数说明

inputs

dataframe

inputs为字典类型,dataframe为pyspark中的DataFrame类型对象

输出

参数说明

参数

子参数

参数说明

start_index

-

只对数据集转成的数组的某个区间内元素化散点图,start_index表示开始位置

end_index

-

只对数据集转成的数组的某个区间内元素化散点图,end_index表示结束位置

x_axis_column_name

-

散点图x轴的列名

y_axis_columns_str

-

散点图y轴的某些列,y_axis_columns_str表示用列名逗号隔开的字符串

figure_length

-

图的长度

figure_width

-

图的宽度

样例

inputs = {
    "dataframe": None  # @input {"label":"dataframe","type":"DataFrame"}
}
params = {
    "inputs": inputs,
    "start_index": "",  # @param {"label":"start_index","type":"integer","required":"true","range":"[0,2147483647]","helpTip":""}
    "end_index": "",  # @param {"label":"end_index","type":"integer","required":"true","range":"[0,2147483647]","helpTip":""}
    "x_axis_column_name": "",  # @param {"label":"x_axis_column_name","type":"string","required":"false","helpTip":""}
    "y_axis_columns_str": "",  # @param {"label":"y_axis_columns_str","type":"string","required":"false","helpTip":""}
    "figure_length": "",  # @param {"label":"figure_length","type":"integer","required":"false","range":"[0,2147483647]","helpTip":""}
    "figure_width": ""  # @param {"label":"figure_width","type":"integer","required":"false","range":"[0,2147483647]","helpTip":""}
}
plot_scatter____id___ = MLSPlotScatter(**params)
plot_scatter____id___.run()

分享:

    相关文档

    相关产品

close