Open LaurentBlanc73 opened 1 month ago
Thanks @LaurentBlanc73 for your interest. I am not sure I can visualise the change actually.. Could you reformat or if you are already confident of your proposal, submit a Pull Request with this ticket ?
@ratal sorry for the poor formatting, I just improved that (actually I changed the code again a little bit by pre-allocating storage).
I updated the changes in my fork and will create a pull request as soon as the previous on in #212 is passed :)
Python version
3.9.19
Numpy version
1.26.1
mdfreader version
4.1
Description
Got a lot of times the Info:
highly fragmented dataframe
on one call of the following linemdf.return_pandas_dataframe(master)
Resolution
I changed the function in the mdfreader.py to the following:
Therefore, the dataframe does not get expanded every time but only once at the end.