Closed kkonghao closed 1 year ago
That is very interesting. DataFrame is silently failing. What is happening is that 100
is read as an integer. So you have a std pair of string and integer. DataFrame is silently failing to find the column "col_1" of type integer.
if you change the line to
df.append_row(&index_val, std::make_pair("col_1", 100.0));
It should work
thanks for your help, i get it
hi when i use append_row to append a row to an exist dataframe and calculate mean visitor, some unexpected result occur and some other visitor neither.