← Back to roadmap
infer_objects / convert_dtypes
These utilities refine dtypes automatically — useful after reading data from
CSV/JSON where everything starts as object or string:
inferObjectsSeries — promote object → typed
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent
inferObjectsDataFrame — all columns at once
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent
convertDtypesSeries — also parses numeric strings
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent
convertDtypesDataFrame — per-column conversion
Click ▶ Run to execute
Ctrl+Enter to run · Tab to indent