How to cast binary array to float array?

Hi! I am trying to read some data coming over serial com port. The data comes as a raw binary float array. Python’ serial module reads the data as string. Now, I need to convert this string to float array. I had been reading up on bytes and struct but still having trouble achieving my objective. To give an example of what I want to do, in C/C++ I would do something like

char Rx_buffer[400];
float* Rx_data = &Rx_buffer[0];

I am looking to do this in python. How can I do it?

Two functions that may be of help:

Thank you very much. I managed to do it.