diff --git a/gromacs/fileformats/xvg.py b/gromacs/fileformats/xvg.py
index <HASH>..<HASH> 100644
--- a/gromacs/fileformats/xvg.py
+++ b/gromacs/fileformats/xvg.py
@@ -527,6 +527,10 @@ class XVG(utilities.FileUtils):
         finally:
             del rows     # try to clean up as well as possible as it can be massively big
 
+    def to_df(self):
+        import pandas as _pd
+        return _pd.DataFrame(self.array.T, columns=["X",]+self.names, dtype=float)
+
     def set(self, a):
         """Set the *array* data from *a* (i.e. completely replace).
Convert the xvg file to a Pandas DataFrame
- unclear if this is desired, Oli may not want to add dependancies such as pandas