Package org.jpmml.python
Class DataFrameScope
- java.lang.Object
-
- org.jpmml.python.Scope
-
- org.jpmml.python.DataFrameScope
-
- All Implemented Interfaces:
org.jpmml.converter.FeatureResolver
public class DataFrameScope extends Scope
-
-
Constructor Summary
Constructors Constructor Description DataFrameScope(String variableName, List<? extends org.jpmml.converter.Feature> columns)DataFrameScope(String variableName, List<? extends org.jpmml.converter.Feature> columns, org.jpmml.converter.PMMLEncoder encoder)DataFrameScope(List<? extends org.jpmml.converter.Feature> columns)DataFrameScope(List<? extends org.jpmml.converter.Feature> columns, org.jpmml.converter.PMMLEncoder encoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends org.jpmml.converter.Feature>getColumns()org.jpmml.converter.FeaturegetFeature(String name)org.jpmml.converter.FeaturegetFeature(String name, int columnIndex)org.jpmml.converter.FeaturegetFeature(String name, String columnName)StringgetVariableName()org.jpmml.converter.FeatureresolveFeature(String name)-
Methods inherited from class org.jpmml.python.Scope
getEncoder
-
-
-
-
Constructor Detail
-
DataFrameScope
public DataFrameScope(List<? extends org.jpmml.converter.Feature> columns)
-
DataFrameScope
public DataFrameScope(List<? extends org.jpmml.converter.Feature> columns, org.jpmml.converter.PMMLEncoder encoder)
-
DataFrameScope
public DataFrameScope(String variableName, List<? extends org.jpmml.converter.Feature> columns)
-
-
Method Detail
-
getFeature
public org.jpmml.converter.Feature getFeature(String name)
- Specified by:
getFeaturein classScope
-
getFeature
public org.jpmml.converter.Feature getFeature(String name, int columnIndex)
- Specified by:
getFeaturein classScope
-
getFeature
public org.jpmml.converter.Feature getFeature(String name, String columnName)
- Specified by:
getFeaturein classScope
-
resolveFeature
public org.jpmml.converter.Feature resolveFeature(String name)
- Specified by:
resolveFeaturein interfaceorg.jpmml.converter.FeatureResolver- Overrides:
resolveFeaturein classScope
-
getVariableName
public String getVariableName()
-
getColumns
public List<? extends org.jpmml.converter.Feature> getColumns()
-
-