## Is your feature request related to a problem?

There's only 2 files where we use pandas, but pandas is 49MB and numpy is another 86MB, slowing down builds massively.

## Describe the solution you'd like

Replace pandas with a pure SQL/Python solution in
- posthog/queries/trends.py
- posthog/queries/sessions.py

Both of those have equivalent examples in Clickhouse (ee/clickhouse) that don't use Pandas.

## Describe alternatives you've considered

Continue using Pandas and clogging builds

## Additional context



#### *Thank you* for your feature request – we love each and every one!

posthog/queries/test/test_trends.py
"data": [2.0, 0.0, 0.0, 0.0, 1.0, 0.0],
                        "labels": [
                            "Sun. 5 January",
                            "Mon. 6 January",
                            "Tue. 7 January",
                            "Wed. 8 January",
                            "Thu. 9 January",
                            "Fri. 10 January",
                        ],
                        "days": ["2020-01-05", "2020-01-06", "2020-01-07", "2020-01-08", "2020-01-09", "2020-01-10"],
                    }
                ],
            )
        def test_property_filtering(self):
            self._create_events()
            with freeze_time("2020-01-04"):
                response = trends().run(
                    Filter(
                        data={
                            "properties": [{"key": "$some_property", "value": "value"}],
                            "events": [{"id": "sign up"}],
                        }
                    ),
                    self.team,
                )
            self.assertEqual(response[0]["labels"][4], "Wed. 1 January")
            self.assertEqual(response[0]["data"][4], 1.0)
            self.assertEqual(response[0]["labels"][5], "Thu. 2 January")
            self.assertEqual(response[0]["data"][5], 0)
        def test_filter_events_by_cohort(self):