4 odpowiedzi
+ 7
scipy.io.wavfile.read() returns the bitrate of a wav file (integer) and its data as a numpy array. It can be transformed to pandas dataframe, by using pandas.DataFrame() method, where you put a list of all those 50 data objects as argument.
+ 7
Don't worry, pandas dataframes can manage and store extremely large collections of objects and still be efficient, as they only hold references to them.
But sure, if you later need to do some data processing only on a selected piece of your files, there is no point in importing them in a first place ;)
0
i think i have to minimize the overall objects too because i actually have 2000 objects in a folder. but i need only 50 of them
0
thank you a lot