def METHOD_NAME(obj, indent=0, depth=3):
    if 'numpy' in sys.modules:
        import numpy as np
        print_options = np.get_printoptions()
        np.set_printoptions(precision=6, threshold=64, edgeitems=1)
    else:
        print_options = None
    out = pprint.METHOD_NAME(obj, depth=depth, indent=indent)
    if print_options:
        np.set_printoptions(**print_options)
    return out