def normalize(matrix, norm='l2', axis=1, inplace=False):
    """Normalize the matrix-like input.

    Parameters
    ----------
    matrix: a matrix-like object
    norm: {'l2' (default), 'l1' or 'max'}, optional
    axis: {1 (default) or 0}
        specify along which axis to compute the average values that will be used to carry out the normalization.
        Use axis=1 to normalize the rows, and axis=0 to normalize the columns.
    inplace: boolean
        whether or not to perform inplace normalization (default=False). Note that if the sparse matrix's format is
        not compatible with the axis along which the normalization is asked (csr for axis=1, csc for axis=0), another
        one will be created, and 'inplace' will become moot. Also, will not apply if the input's dtype is 'int' instead
        of a type compatible with division, such as 'float'.

    Returns
    -------
    a matrix-like object

    Warnings
    --------
    the inplace=True parameter isn't implemented yet

    """
    return matrix.normalize(norm=norm, axis=axis, inplace=inplace)
