(x)
Return :class:`numpy.ndarray` (dense or sparse) with attribute data
    from the given instance of :class:`Orange.data.Table`,
    :class:`Orange.data.RowInstance` or :class:`Orange.data.Instance`.
Return :class:`numpy.ndarray` (dense or sparse) with attribute data
    from the given instance of :class:`Orange.data.Table`,
    :class:`Orange.data.RowInstance` or :class:`Orange.data.Instance`.
Return : class : numpy . ndarray ( dense or sparse ) with attribute data from the given instance of : class : Orange . data . Table : class : Orange . data . RowInstance or : class : Orange . data . Instance .
def _orange_to_numpy(x):
    """
    Return :class:`numpy.ndarray` (dense or sparse) with attribute data
    from the given instance of :class:`Orange.data.Table`,
    :class:`Orange.data.RowInstance` or :class:`Orange.data.Instance`.
    """
    if isinstance(x, Table):
        return x.X
    elif isinstance(x, Instance):
        return np.atleast_2d(x.x)
    elif isinstance(x, np.ndarray):
        return np.atleast_2d(x)
    else:
        return x
def _orange_to_numpy ( x ) : if isinstance ( x , Table ) : return x . X elif isinstance ( x , Instance ) : return np . atleast_2d ( x . x ) elif isinstance ( x , np . ndarray ) : return np . atleast_2d ( x ) else : return x