Analytics.DataFrame.getColumnType()

Signature

String getColumnType(Object dataFrame, int columnNumber)

Domain

ACTION

Description

Returns the column type for the column number specified from the data frame object.
If the column number specified is incorrect returns null value.

Parameters

NameTypeDescription
dataFrameObjectA TerrDataFrame type of Object
columnIndexintThe column number whose type needs to retrieved from the data frame

Returns

TypeDescription
StringReturns the column type for the column number specified from the data frame object.
If the column number specified is incorrect returns null value.

Cautions

none

Example

Object cust = Analytics.DataFrame.createFrame(names, data);
int columnNumber = 1;
String columnType = Analytics.DataFrame.getColumnType(dataFrame, columnNumber);