@@ -607,11 +607,6 @@ def _data_to_frame(data, header, index_col, skiprows, infer_types,
607
607
parse_dates = parse_dates , tupleize_cols = tupleize_cols ,
608
608
thousands = thousands )
609
609
df = tp .read ()
610
-
611
- if infer_types : # TODO: rm this code so infer_types has no effect in 0.14
612
- df = df .convert_objects (convert_dates = 'coerce' )
613
- else :
614
- df = df .applymap (text_type )
615
610
return df
616
611
617
612
@@ -757,9 +752,8 @@ def read_html(io, match='.+', flavor=None, header=None, index_col=None,
757
752
that sequence. Note that a single element sequence means 'skip the nth
758
753
row' whereas an integer means 'skip n rows'.
759
754
760
- infer_types : bool, optional
761
- This option is deprecated in 0.13, an will have no effect in 0.14. It
762
- defaults to ``True``.
755
+ infer_types : None, optional
756
+ This has no effect since 0.15.0. It is here for backwards compatibility.
763
757
764
758
attrs : dict or None, optional
765
759
This is a dictionary of attributes that you can pass to use to identify
@@ -838,9 +832,7 @@ def read_html(io, match='.+', flavor=None, header=None, index_col=None,
838
832
pandas.io.parsers.read_csv
839
833
"""
840
834
if infer_types is not None :
841
- warnings .warn ("infer_types will have no effect in 0.14" , FutureWarning )
842
- else :
843
- infer_types = True # TODO: remove effect of this in 0.14
835
+ warnings .warn ("infer_types has no effect since 0.15" , FutureWarning )
844
836
845
837
# Type check here. We don't want to parse only to fail because of an
846
838
# invalid value of an integer skiprows.
0 commit comments