The mere existence of Pandas makes me extremely grateful for SQL, because my job would be absolute hell if I had to use pandas or a similar syntax. It’s hard to overemphasize just how perfect SQL is for the job that it does.
The relational model is pretty simple though. Pandas is an awful mess.
Things like allowing repeat clauses, compute select before where, etc are what solve for composition issues