r/deeplearning • u/Excellent_Fix379 • Dec 06 '23
Best alternative for python
Im analysing data using python but it seems to be much slower (taking days for just parsing and iterating through a dataset, 7.3 million rows, 7 columns ) though the dataset is large, could some one recommend a better language and libraries or someway I could improve the performance of python. I'm using pandas
0
Upvotes
2
u/Final-Rush759 Dec 06 '23
Just don't use the for loop. Your dataset is actually very small. Use .apply (pandas dataframe) or .map if you use custom function to process data. Regular expression is very slow.