From 45a62cf6fb44a58a944904b62c7a6b7b552fd13f Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Tue, 13 Mar 2018 09:59:06 -0500 Subject: [PATCH] As a comment --- pandas/errors/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index 16654f0227182..ff34df64c88d2 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -68,8 +68,7 @@ class DtypeWarning(Warning): ... 'b': ['b'] * 300000}) >>> df.to_csv('test.csv', index=False) >>> df2 = pd.read_csv('test.csv') - - DtypeWarning: Columns (0) have mixed types + ... # DtypeWarning: Columns (0) have mixed types Important to notice that ``df2`` will contain both `str` and `int` for the same input, '1'.