def test_divide_decimal(self):
        from decimal import Decimal

        expected = Series([Decimal(5)])

        s = Series([Decimal(10)])
        s = s / Decimal(2)

        tm.assert_series_equal(expected, s)

        s = Series([Decimal(10)])
        s = s // Decimal(2)

        tm.assert_series_equal(expected, s)
Get the current presence state for multiple users.
dataset/ETHPy150Open pydata/pandas/pandas/tests/series/test_operators.py/TestSeriesOperators.test_divide_decimal--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/presence.py/PresenceHandler.current_state_for_users