coords_

attribute

property Factor.coords_[source]

Extracts the encoded coordinates for the factor. Returns the categorical encoding if specified, or the encoded levels for a continuous factor between -1 and 1. Otherwise returns the default coordinates which is effect encoding for categorical factors, (-1, 0, 1) for continuous factors and (0, 0.5, 1) for mixtures.

Returns

coordslist(np.array(2d))

The encoded coordinates.