title: How to rearrange data in r
body: <p>I am not able to rearrange my data in R. I am using following code.</p>
  
  <pre><code>data_1=read.table(file="filename.csv",sep=",")
  </code></pre>
  
  <p>I am getting...</p>
  
  <pre><code>               Month     Open      High      Low        Close
  April-2015     27954.86  29094.61  26897.54  27011.31    NA
  May-2015       27204.63  28071.16  26423.99  27828.44    NA
  June-2015      27770.79  27968.75  26307.07  27780.83    NA
  July-2015      27823.65  28578.33  27416.39  28114.56    NA
  </code></pre>
  
  <p>But I want it as...</p>
  
  <pre><code>Month          Open      High      Low       Close
  April-2015     27954.86  29094.61  26897.54  27011.31
  May-2015       27204.63  28071.16  26423.99  27828.44
  June-2015      27770.79  27968.75  26307.07  27780.83
  July-2015      27823.65  28578.33  27416.39  28114.56
  </code></pre>
  
  <p>Can someone help me please.</p>
  
  <p>Thank you so much.</p>