Dec-13-2018, 06:30 PM
Use python tags for multi-line code. The icode tags are for
You are creating a new dictionary each time through the loop. Create one dictionary before the loop, and update it each time through:
inline code
.You are creating a new dictionary each time through the loop. Create one dictionary before the loop, and update it each time through:
dataValues = {} for rows in range(len(stock_data)): for columns in range(12): dataValues[column_name[columns]] = stock_data[rows][columns]
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures