If you are buying a tablet for osu!, then you need a tablet that is specifically good for osu! And most are not.
The easiest way to find such a tablet is Kuuube's tablet buying guide
Link: https://kuuuube.github.io/buying_guide
This guide is an incredibly well researched by Kuuube. No other tablet guide for osu! will be as helpful as this one.