You are viewing a single comment's thread from:
RE: Programming Diary #14: Historical graphing and helpful descriptions
Thanks for your update.
I don't have much time now, but I wanted to briefly comment to your Python problem:
Sometimes Steemchiller adds or changes fields with the result that the number of "columns" and order changes.
For this he adds the entry cols
. The safest way to access the data is therefore e.g.: rows[0][cols["author"]]
.
Then the order doesn't really matter and only a change in the field name can cause complications. However, he announces this early on.
Perfect. Thanks. I noticed that the first entry had the column indexes while I was trying to track down the problem, but I didn't take the time to make use of it. Now, I went ahead and updated it.