Closed YingHREN closed 5 months ago
Yes, currently you cannot do a select on a View (you can do it on a PtrView). It is in my todo list to fix
@YingHREN , This was easier to fix than I thought. So it is fixed in master
Thanks I will try it
And does get_data_by_sel support multi thread if I do something like this
threads2.emplace_back([log, i, &res1, start, end]() {
auto res1_part = res1.get_data_by_loc<double, int>(hmdf::Index2D<long> {start, end});
})
it may cause some error sometimes
You should definitely read the multithreading section in documentation. DataFrame, in general, is not multithreaded safe.
Ok thanks.
I wrote the code like this as folow:
it has error like this:
first could the isel operation work on the view? .