Aug-23-2018, 08:56 AM
Hi All,
I created a script to save information from internet into pandas dataframe and later I save it in CSV file.
First I create an empty pd using :
is there any memory leaks inside the panda loc method?
I created a script to save information from internet into pandas dataframe and later I save it in CSV file.
First I create an empty pd using :
result = pd.DataFrame(index = df_CSV['Ticker'], columns = keyStatistics)later in the code, I start to modify each element inside a loop using
result.loc[ticker,keyStatistics[i]]= td.stringI noticed that the program is taking more than 1G in memory and keep increasing with time.
is there any memory leaks inside the panda loc method?