Exemplo n.º 1
0
def imputeField36Field40(numpy_array):
    dataFrame = pd.DataFrame(numpy_array[:, 47:49])
    dateImputer = RandomSampleImputer()
    dateImputer.fit(dataFrame)
    convertedField39_Field40 = dateImputer.transform(dataFrame)
    numpy_array[:, 47:49] = convertedField39_Field40
Exemplo n.º 2
0
def imputeField26Ffield35(array):
    dataFrame = pd.DataFrame(array[:, 35:41])
    stringImputer = RandomSampleImputer()
    stringImputer.fit(dataFrame)
    convertedField35_Field40 = stringImputer.transform(dataFrame)
    array[:, 35:41] = convertedField35_Field40