title: How can we change data type of a dataframe row in pandas?
body: <p>I am making API calls and collecting the results as rows in a DataFrame object. The first two rows are text while the rest are numbers. Is there any way that I can have different data types within each column or said differently, can we set a data type for each <strong><em>row</em></strong>? I have tried convert_objects, astype et al. to convert the row before adding to the DataFrame but they don't work.</p>
  
  <pre><code>Example: Sample DataFrame
  
     0     1     2
  0  text1 text2 text3
  1  text1 text2 text3
  2  no1   no2   no3
  ...
  </code></pre>