what are all the dtypes that pandas recognizes?

后端 未结 3 2090
醉梦人生
醉梦人生 2020-11-30 02:03

For pandas, would anyone know, if any datatype apart from

(i) float64, int64 (and other variants of np.number like floa

3条回答
  •  猫巷女王i
    2020-11-30 02:54

    Building on other answers, pandas also includes a number of its own dtypes.

    Pandas and third-party libraries extend NumPy’s type system in a few places. This section describes the extensions pandas has made internally. See Extension types for how to write your own extension that works with pandas. See Extension data types for a list of third-party libraries that have implemented an extension.

    The following table lists all of pandas extension types. See the respective document

    https://pandas.pydata.org/pandas-docs/stable/getting_started/basics.html#dtypes

    Also, pandas 1.0 will have a string dtype.

提交回复
热议问题