

def test_mpl_compat_hack(self):
    result = self.ts[:, np.newaxis]
    expected = self.ts.values[:, np.newaxis]
    assert_almost_equal(expected, expected)

dataset/ETHPy150Open pydata/pandas/pandas/tests/series/test_timeseries.py TestSeriesTimeSeries.test_mpl_compat_hack/VarMisuse@40/47 `result`->`expected`