remove all odd rows in pandas code example Example: remove all odd row pandas #to skip every other row df.iloc[::2]