A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/7198 below:

odd indexing issue w.r.t series/frame div op (may involve numexpr) · Issue #7198 · pandas-dev/pandas · GitHub

        for n in [ 4, 4000 ]:

            df = DataFrame(1,index=range(n),columns=list('abcd'))
            df.iloc[0] = 2

            expected = DataFrame(np.tile(df.mean().values,n).reshape(n,-1),
                                 columns=list('abcd'))/df
            result = df.mean()/df
            assert_frame_equal(result,expected)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4