Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/22/14 14:43:39 (10 years ago)
Author:
rstoll
Message:

Forgot to add GetColumnTypeAsString

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs

    r10369 r10371  
    121121      return preprocessingData.IsType<T>(columnIndex);
    122122    }
     123
     124    public string GetColumnTypeAsString(int columnIndex) {
     125      if (preprocessingData.IsType<double>(columnIndex)) {
     126        return "double";
     127      } else if (preprocessingData.IsType<string>(columnIndex)) {
     128        return "string";
     129      } else if (preprocessingData.IsType<DateTime>(columnIndex)) {
     130        return "DateTime";
     131      }
     132      return "Unknown Type";
     133    }
     134
    123135  }
    124136}
Note: See TracChangeset for help on using the changeset viewer.