Reading binary file using numpy in Streamlit
Reading binary file using numpy in Streamlit Question: I have the following code snippet that works perfectly well in python, however, I am trying to use streamlit to upload the binary files, but I can’t seem to make it work. Here is the working code in python: def read_bin(): dt = np.dtype([(‘col1′,’d’),(‘col2′,’d’),(‘col3′,’d’),(‘col4′,’d’)]) data = np.fromfile(‘Files/Bin …