If we have an object dtype, try to infer a non-object dtype.
Whether to make a copy in cases where no inference occurs.
An Index with a new dtype if the dtype was inferred or a shallow copy if the dtype could not be inferred.
Examples
>>> pd.Index(["a", 1]).infer_objects() Index(['a', '1'], dtype='object') >>> pd.Index([1, 2], dtype="object").infer_objects() Index([1, 2], dtype='int64')
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4