title: How to write a dataframe without using pandas or any package?
body: <p>I'm studying phyton and one of my goals is write most os my codes without packages, and I would to like write a structure which looks like with pandas's DataFrame, but without using any other package. Is there any way to do that?</p>
  
  <p>Using pandas, my code looks like this:</p>
  
  <pre><code>From pandas import Dataframe
  
  ...
  
  s = DataFrame(s, index = ind)
  </code></pre>
  
  <p>where <code>ind</code> is the result of a function.</p>
  
  <p>Maybe dictionary could be the answer?</p>
  
  <p>Thanks</p>