Why CSV date column is imported as NaN ?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!