title: How to find data type of each column from csv file using Java Script?
body: <p>I have tried to find data-type of each column using Java Script, It prints string data-type for  number,string and date. </p>
  
  <p>I need each column data-type whether it is date or string or number or float.</p>
  
  <p>Without CSV it prints correct data-type.</p>
  
  <p><strong>Working Example without CSV file</strong>  </p>
  
  <pre><code>var num=15;
  var str="xyz";
  console.log(typeof num);
  console.log(typeof str);
  
  Output
  number
  string
  </code></pre>
  
  <p>But using csv file it prints string for all columns.</p>
  
  <p><strong>My CSV file is:</strong></p>
  
  <pre><code>01/01/1991,12,xyz,14.4
  01/01/1992,20,abc,20.5
  01/02/1980,78,xy,60.8
  </code></pre>
  
  <p><strong>I am using Papa Parse javascript plug-in for getting each column and then checking data-type.</strong></p>
  
  <p>How do I get each column's data-type from CSV file? 
  Is there any other way to parse CSV to array where we can traverse on particular row or column?</p>