Unique function for tall tables
2 ビュー (過去 30 日間)
古いコメントを表示
I want to filter my tall timetable and only keep values the first value where the timestamp is unique but MATLAB says I can not do that with tall tables.
Is there another way to go about this?
2 件のコメント
Rik
2022 年 6 月 2 日
You could use a loop, keeping a shadow copy of all timestamps so far, keeping only the first.
The performance will not be great. It may still be good enough if you use a logical vector to mark deletions and remove unwanted rows in one go.
dpb
2022 年 6 月 2 日
I've not messed w/ the tall table stuff, but I'd think retime could do that for you...the limitations mentioned don't seem to prohibit it.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!