django-pandas
django-pandas copied to clipboard
Tools for working with pandas in your Django projects
When trying to use read_frame with a RawQuerySet : ``` from django_pandas.io import read_frame from apps.immodata.models import Observation obj = MyModel.objects.raw("Select * from myapp_mymodel") # dummy RawQuerySet read_frame(obj) ``` getting...
when I use the read_frame from a query set default used is the model's fields name as the dataframe's title what if I want the dataframe title from the localization...
Let's say that we have another source of data, like a csv. Most of the fields in this CSV correspond to fields in the model, and we would like to...
A common use case (I'm guessing, since that's what I'm doing) is to: Define models => do operations in dfs => save back down as models This is kind of...
In many occasions, name of distant cousin table fields like `driver__vehicle__part__manufacturer` can be too verbose and hard to manage. I often find myself renaming these to a more convenient name,...