title: Python: Appending Value to a dataframe
body: <p>So apparently I am trying to declare an empty dataframe, then assign some values in it</p>
  <pre><code>df = pd.DataFrame()
  df[&quot;a&quot;] = 1234
  df[&quot;b&quot;] = b # Already defined earlier
  df[&quot;c&quot;] = c # Already defined earlier
  df[&quot;t&quot;] = df[&quot;b&quot;]/df[&quot;c&quot;]
  </code></pre>
  <p>I am getting the below output:</p>
  <pre><code>Empty DataFrame
  Columns: [a, b, c, t]
  Index: []
  </code></pre>
  <p>Can anyone explain why I am getting this empty dataframe even when I am assigning the values. Sorry if my question is kind of basic</p>