Great question — answering as the UphillTech team:
Standard deviation doesn't care whether y = f(x) or (x, y) are coordinates. It just measures how spread a set of values are. If you have n points (x, y) which make up a nX2 size array, then the std(axis=0) is what you want. It creates a (2, ) shaped array, where the first elements is the x-axis std, and the second the y-axis std. Whether that is useful, depends on what you want, and it ignores the correlation between x and y .
Full answer by blue note: https://stackoverflow.stackexchange.com/a/51935557 (CC BY-SA 4.0).
Need it done for your business? UphillTech.