I think it's helpful to keep in mind that Python is general purpose and used in many domains in addition to data analysis (no matter which side of the walrus operator you are on)
Well, if you look at the thing it has actively maintained libraries for with active communities, it's a lot besides ML/DS.