diff --git a/ippisite/ippidb/management/commands/lle_le.py b/ippisite/ippidb/management/commands/lle_le.py
new file mode 100644
index 0000000000000000000000000000000000000000..9eeec9166fa1f76ea4887c80417f18755244b253
--- /dev/null
+++ b/ippisite/ippidb/management/commands/lle_le.py
@@ -0,0 +1,17 @@
+import glob
+
+from django.utils import timezone
+from django.core.management import BaseCommand, CommandError
+
+from ippidb.models import Compound
+
+class Command(BaseCommand):
+
+    help = "Generate the data for the compound LE vs LLE biplot"
+
+    def handle(self, *args, **options):
+        self.stdout.write(self.style.SUCCESS('Generating the LE vs. LLE biplot...'))
+        df = Compound.objects.all().to_dataframe()
+        df['le']=df[
+        print(df.to_csv())
+        print(df.columns)
diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py
index dc2484e4ce75c6fa28ffeaf0cde66c1bf107fece..ba47ac4a7d0c1d71a95b8437cb848b2df8ce4f25 100644
--- a/ippisite/ippidb/models.py
+++ b/ippisite/ippidb/models.py
@@ -1,6 +1,7 @@
 from __future__ import unicode_literals
 
 from django.db import models
+from django_pandas.managers import DataFrameManager
 
 from .ws import get_pubmed_info, get_epo_info, get_uniprot_info, get_taxonomy_info, get_go_info, get_pfam_info
 
@@ -321,6 +322,8 @@ class Compound(models.Model):
     mddr_compound = models.ForeignKey(
         'MDDRCompoundImport', models.CASCADE, blank=True, null=True)
 
+    objects = DataFrameManager()
+
     @property
     def biblio_refs(self):
         """
diff --git a/ippisite/requirements.txt b/ippisite/requirements.txt
index 3d316df5e876f88fea494065f87884b80ce6b8f6..946f211d485f5286315e614d64727c9bfa2d1e4d 100644
--- a/ippisite/requirements.txt
+++ b/ippisite/requirements.txt
@@ -1,5 +1,6 @@
 Django==1.11
 django-bootstrap3
+django-pandas
 bioservices
 #typing
 django-extensions>=2.0.5