# pandas.DataFrame.convert_objects¶

DataFrame.convert_objects(convert_dates=True, convert_numeric=False, convert_timedeltas=True, copy=True)

Deprecated.

Attempt to infer better dtype for object columns

Parameters: convert_dates : boolean, default True If True, convert to date where possible. If ‘coerce’, force conversion, with unconvertible values becoming NaT. convert_numeric : boolean, default False If True, attempt to coerce to numbers (including strings), with unconvertible values becoming NaN. convert_timedeltas : boolean, default True If True, convert to timedelta where possible. If ‘coerce’, force conversion, with unconvertible values becoming NaT. copy : boolean, default True If True, return a copy even if no copy is necessary (e.g. no conversion was done). Note: This is meant for internal use, and should not be confused with inplace. converted : same as input object
{"ft_lang_label":"__label__en","ft_lang_prob":0.5065874,"math_prob":0.72435254,"size":1103,"snap":"2021-43-2021-49","text_gpt3_token_len":243,"char_repetition_ratio":0.15923567,"word_repetition_ratio":0.16551724,"special_character_ratio":0.20398912,"punctuation_ratio":0.23195876,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9882188,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-11-27T23:29:11Z\",\"WARC-Record-ID\":\"<urn:uuid:8f13bb35-8080-4af2-afc5-a9ae50ec5d19>\",\"Content-Length\":\"15314\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:30c47a7e-ad38-4cbe-a9fa-d111bef30795>\",\"WARC-Concurrent-To\":\"<urn:uuid:95ab07a0-c22e-40ea-9276-f13f81f17a96>\",\"WARC-IP-Address\":\"172.67.71.236\",\"WARC-Target-URI\":\"https://pandas.pydata.org/pandas-docs/version/0.18.0/generated/pandas.DataFrame.convert_objects.html\",\"WARC-Payload-Digest\":\"sha1:I4HYFHP2ZUYR5FPAJ3TPE6UQURZ43XDV\",\"WARC-Block-Digest\":\"sha1:LDN6X7LSQMHEZW5DKTSOXRHMXUDEGWRV\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964358323.91_warc_CC-MAIN-20211127223710-20211128013710-00513.warc.gz\"}"}