Stock quotes obtained from yfinance don’t start the 1st of each month, so I need to extract the the Date and Close for the first available qupte for each month in a csv. So far I managed to only get the days starting with 0, but this is still not what I want: The following is an example of what
Tag: quote
Nice file parsing required
I need to process a file like this and I need to transform it to a dict : I don’t succeed in any fast and elegant way to deal Answer Let me first specify what I have understood from your requirement. You input is a csv file, with optionaly quoted fields: ok the csv module can parse it The first