title: pandas dataframe as field in django
body: <p>I want to add pandas dataframe (or a numpy array) as a field in django model. Each model instance in django has a large size 2D array associated with it so I want to store it as numpy array or pandas dataframe.</p>
  
  <p>please guide me how can I achieve it. I tried below but it doesn't work. </p>
  
  <pre><code>from django.db import models
  import numpy    
  class datafile(models.Model)
      filename = models.CharField(max_length=50)
      data = numpy.array((1000,1000))
  </code></pre>
  
  <p>I am reading data from excel file and setting it to data variable in views.py but after I save the model, the value for data doesn't get updated.
  regards,
  Rahul</p>