'Vfi8 ddlZddlZddlmZmZmZmZejdefdZ ejdZ ejdZ ejdZ ejdZ dS) N) DataFrameIndexNaT date_rangereturnc ttjddt t dtdddS) zb Fixture for DataFrame of floats with DatetimeIndex Columns are ['A', 'B', 'C', 'D'] )dABCDz 2000-01-01r B)periodsfreq)columnsindex)rnprandom default_rngstandard_normalrlistrJc:\PYTHON\DbComparer\venv\Lib\site-packages\pandas/tests/frame/conftest.pydatetime_framer s_  a  00::d6ll##s===   rc ttjddt dt dDtt td}d|d <|S) z Fixture for DataFrame of floats and strings with index of unique strings Columns are ['A', 'B', 'C', 'D', 'foo']. r )r cg|]}d|Sfoo_r.0is r z&float_string_frame..#333AZAZZ333rrdtyper )rrbarfoo) rrrrrrrangeobjectrdfs rfloat_string_framer-s  a  009933r3336BBBd6ll##   B BuI Irc tdttdgdDtdt dDt }|dd |d<|S) z| Fixture for DataFrame of different float types with index of unique strings Columns are ['A', 'B', 'C', 'D']. c~i|]:\}}|tjdd|;S)r rr%)rrrr!colr&s r z%mixed_float_frame..2sQ   U &&q))0050AA   rr )float32r3r3float64cg|]}d|Srrr s rr#z%mixed_float_frame..8r$rrr%rCfloat16)rziprrr)r*astyper+s rmixed_float_framer;*s   !V JJJ   33r3336BBB   BgnnY''BsG Irc tdttdgdDtdt dDt S)zz Fixture for DataFrame of different int types with index of unique strings Columns are ['A', 'B', 'C', 'D']. cBi|]\}}|tjd|S)rr%)ronesr0s rr2z#mixed_int_frame..Gs=   U 5)))   rr )int32uint64uint8int64cg|]}d|Srrr s rr#z#mixed_int_frame..Kr$rrr%r6)rr9rrr)r*rrrmixed_int_framerD?su   !$v,,0U0U0UVV   33r3336BBB    rc ttddtdddtdddd}t|jd<t|jd <|S) a Fixture for DataFrame of date_range Series with different time zones Columns are ['A', 'B', 'C']; some entries are missing A B C 0 2013-01-01 2013-01-01 00:00:00-05:00 2013-01-01 00:00:00+01:00 1 2013-01-02 NaT NaT 2 2013-01-03 2013-01-03 00:00:00-05:00 2013-01-03 00:00:00+01:00 20130101)rz US/Eastern)rtzCET)Ar r7)rK)rKr )rrrilocr+s rtimezone_framerMOsn J222JlCCCJe<<<    BBGDMBGDM Ir)numpyrpytestpandasrrrrfixturerr-r;rDrMrrrrRs         (   r