For the in-memory table t, I'd like to change the data type of column sym to SYMBOL. sym = `C`MS`MS`MS`IBM`IBM`C`C`C price= 49.6 29.46 29.52 30.02 174.97 175.23
For the in-memory table t, I'd like to change the data type of column sym to SYMBOL. sym = `C`MS`MS`MS`IBM`IBM`C`C`C price= 49.6 29.46 29.52 30.02 174.97 175.23
I want to insert a new row to a matrix so as to solve the problem of array index out of bounds when using a function like prev in DolphinDB.
This is the table I used for querying. dbName = "dfs://trade" tbName = "trade" if(existsDatabase(dbName)){ dropDatabase(dbName) } db1 = database(, VALUE, 20
n=1000000 tmpTrades = table(n:0, colNames, colTypes) lastMinute = [00:00:00.000] colNames = `time`sym`vwap colTypes = [MINUTE,SYMBOL,DOUBLE] enableTableShareAnd