diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -462,6 +462,9 @@ class DataFrame(NDFrame):
                 return com.console_encode(value)
         return com.console_encode(buf.getvalue())
 
+    def _repr_html_(self):
+        return self.to_html()
+
     def __iter__(self):
         """
         Iterate over columns of the frame.
Add _repr_html method to make DataFrames nice in IPython notebook.