title: Get object size from read_csv in pandas
body: <p>I read a csv file and find the size of this</p>
  <pre><code>import pandas as pd
  data = pd.read_csv(&quot;train.csv&quot;)
  data.size
  </code></pre>
  <p>I got 10692 in result
  But I try another way</p>
  <pre><code>y = data[&quot;Survived&quot;]
  </code></pre>
  <p>This time, I only got 891 in length. As I think it must be 10692.
  Would you like finding out the difference?
  I downloaded data in here</p>
  <p><a href="https://www.kaggle.com/c/titanic/data?select=train.csv" rel="nofollow noreferrer">https://www.kaggle.com/c/titanic/data?select=train.csv</a></p>