bundles / scipy latest / scipy / io / arff / _arffread / NominalAttribute / _get_nom_val
staticmethod
scipy.io.arff._arffread:NominalAttribute._get_nom_val
source: /scipy/io/arff/_arffread.py :117
Signature
staticmethod
def _get_nom_val ( atrv ) Summary
Given a string containing a nominal type, returns a tuple of the possible values.
Extended Summary
A nominal type is defined as something framed between braces ({}).
Parameters
atrv: strNominal type definition
Returns
poss_vals: tuplepossible values
Examples
from scipy.io.arff._arffread import NominalAttribute NominalAttribute._get_nom_val("{floup, bouga, fl, ratata}")✓
Aliases
-
scipy.io.arff._arffread.NominalAttribute._get_nom_val