>>> import numpy as np
>>> a = np.array([1,2,3,4])
>>> np.fliplr(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\numpy\lib\twodim_base.py", line 61, in fliplr
raise ValueError("Input must be >= 2-d.")
ValueError: Input must be >= 2-d.