src/capi/impl/capi_sframe.cpp
// Return the type of a particular column.
Return the type of a particular column.
Return the type of a particular column .
EXPORT tc_ft_type_enum tc_sframe_column_type(
    const tc_sframe* sf, const char* column_name, tc_error** error) {
  ERROR_HANDLE_START();
  CHECK_NOT_NULL(error, sf, "sframe", FT_TYPE_UNDEFINED);
  return static_cast<tc_ft_type_enum>(sf->value[column_name].dtype());
  ERROR_HANDLE_END(error, FT_TYPE_UNDEFINED);
}
EXPORT tc_ft_type_enum tc_sframe_column_type ( const tc_sframe * sf , const char * column_name , tc_error * * error ) { ERROR_HANDLE_START ( ) ; CHECK_NOT_NULL ( error , sf , " " , FT_TYPE_UNDEFINED ) ; return static_cast < tc_ft_type_enum > ( sf -> value [ column_name ] . dtype ( ) ) ; ERROR_HANDLE_END ( error , FT_TYPE_UNDEFINED ) ; }
Return the type of a particular column.
Return the type of a particular column .