フィルターのクリア

How to extract data from a table based on a specific variable

2 ビュー (過去 30 日間)
Grigorios Kyritsakas
Grigorios Kyritsakas 2018 年 10 月 12 日
コメント済み: Grigorios Kyritsakas 2018 年 10 月 15 日
I have a huge csv file with 7 columns that I import into matlab as a table (see picture below).
Is there a way to split this table into smaller tables that contain all the rows with the same Asset Description? For example, I would like to create a table with all the rows where my Asset is 'Glendevon'. The different variables in the Asset Description Row are 210, which means that "manual" extract is not an option.
Thanks

採用された回答

dpb
dpb 2018 年 10 月 12 日
編集済み: dpb 2018 年 10 月 12 日
  1. Convert the categorical variables from character representation to categorical
  2. Use findgroups and splitapply, grpstats, etc., to group by variable(s) value

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by