Why CSV date column is imported as NaN ?
Ältere Kommentare anzeigen
Respected colleagues ...
I have imported data from a csv file (John Hopkins).
The date column header (starting from 5th column till end) is imported as NaN ?
Date format is MM/DD/YY
My code is as below (under Matlab2020b)
==============================================================
url = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv';
fileinf= 'time_series_covid19_confirmed_global.csv';
websave(fileinf,url);
dataset = readtable('time_series_covid19_confirmed_global.csv');
=============================================================
Your assistance in this regard is appreciated. Regards
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!