treams.util.ones_like

treams.util.ones_like(a, dtype=None, order='K', shape=None)

Create a numpy array like the given array containing ones.