ó
x\c           @   s^   d  d l  Z d  d l m Z m Z d  d l m Z d  d l m Z m	 Z	 d   Z
 d   Z d S(   i’’’’N(   t   lranget   range(   t   Series(   t   assert_almost_equalt   assert_series_equalc          C   s  t  t j j d  d t d d d  }  xE t t |    D]1 } |  j | } |  |  j | } t	 | |  q= W|  j t
 d d  } |  j d d !} t | |  d | (|  d d !d k j   sĖ t  |  j d d d d d	 g } |  j |  j d d d d d	 g  } t | |  d  S(
   Ni
   t   indexi    i   i   i   i   i   i   (   R   t   npt   randomt   randnR    R   t   lent   ilocR   R   t   slicet   locR   t   allt   AssertionErrort   reindex(   t   st   it   resultt   expt   expected(    (    sE   lib/python2.7/site-packages/pandas/tests/series/indexing/test_iloc.pyt	   test_iloc   s    *%c          C   sA   t  d d d g d d d d g }  |  j d d k s= t  d  S(   Ni    i   i   R   (   R   R
   R   (   R   (    (    sE   lib/python2.7/site-packages/pandas/tests/series/indexing/test_iloc.pyt   test_iloc_nonunique#   s    $(   t   numpyR   t   pandas.compatR    R   t   pandasR   t   pandas.util.testingR   R   R   R   (    (    (    sE   lib/python2.7/site-packages/pandas/tests/series/indexing/test_iloc.pyt   <module>   s
   	