#NEWLINE# def discretize_data( T , discretize_indices ) : #NEWLINE# #INDENT# T_array = numpy . array ( T ) #NEWLINE# discretize_indices = numpy . array ( discretize_indices ) #NEWLINE# T_array [ : , discretize_indices ] = numpy . array ( T_array [ : , discretize_indices ] , dtype = int ) #NEWLINE# return T_array . tolist ( )