I hope this is not trivial but I am wondering the following: If I have a specific folder with n csv files, how could I iteratively read all of them, one at a time, and perform some calculations on their values? For a single file, for example, I do something like this and perform some calculations on the x array:
Tag: genfromtxt
NumPy dtype issues in genfromtxt(), reads string in as bytestring
I want to read in a standard-ascii csv file into numpy, which consists of floats and strings. E.g., Whatever I tried, the resulting array would look like E.g., However, I want to save a step for the byte-string conversion and was wondering how I can read in the string columns as regular string directly. I tried several things from the