Import csv data with readtable is incorrect data.

9 ビュー (過去 30 日間)
Theerawit Tekitchamroon
Theerawit Tekitchamroon 2018 年 12 月 6 日
回答済み: Akira Agata 2018 年 12 月 6 日
Using readtable function to input 2 columns data from csv file, but it divide to 3 columns. Here is my data and import table.
T_id_relation = readtable('store_id_relation.csv');
  2 件のコメント
madhan ravi
madhan ravi 2018 年 12 月 6 日
upload your csv file
Theerawit Tekitchamroon
Theerawit Tekitchamroon 2018 年 12 月 6 日

サインインしてコメントする。

採用された回答

Akira Agata
Akira Agata 2018 年 12 月 6 日
Please specify 'Delimiter' option, like:
T = readtable('store_id_relation.csv','Delimiter',',');
The result is as follows.
>> T = readtable('store_id_relation.csv','Delimiter',',')
T =
150×2 table
air_store_id hpg_store_id
______________________ ______________________
'air_63b13c56b7201bd9' 'hpg_4bc649e72e2a239a'
'air_a24bf50c3e90d583' 'hpg_c34b496d0305a809'
'air_c7f78b4f3cba33ff' 'hpg_cd8ae0d9bbd58ff9'
'air_947eb2cae4f3e8f2' 'hpg_de24ea49dc25d6b8'
...

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by