Reputation: 541
I have a table filled with items that currently have this format.
{ 'low': '107.4200', 'date': '2019-01-25 11:30:00', 'symbol': 'MSFT', 'open': '107.4800', 'volume': '107897', 'high': '107.4900', 'close': '107.4550' }
I am aiming to update all items in this table to make the value 'string' numbers for low, open, volume, high and close turn into actual floating point numbers.
I am looking for a command line interface solution.
Upvotes: 0
Views: 242
Reputation: 3035
You are going to have to write something to scan all items from the table, then for each item execute an update to change each attribute.
Upvotes: 2