This will set the appropriate data type to the each column of the provided dataframe.

Share:

Description

This will set the appropriate data type to the each column of the provided dataframe.

Usage

1
SetColDataType(col.datatype, col.name, dataframe.param)

Arguments

col.datatype

The vector of the datatype of all the dimensions and metrics from the parsed list data.

col.name

The vector of the name of the all dimensions and metrics of the retrived data and it will be attached to the dataframe.param.

dataframe.param

Value

dataframe.param The dataframe will be set with its column names with the appropriate class type.