Latest News

Thursday, January 24, 2019

Overview of Pandas Data Types

Pandas Data Types

A data type is essentially an internal construct that a programming language uses to understand how to store and manipulate data.  A possible confusing point about pandas data types is that there is some overlap between pandas, python and numpy.
Below table summarizes the key points:
Pandas dtype mappings:
Pandas dtypePython typeNumPy typeUsage
objectstrstring_, unicode_Text
int64intint_, int8, int16, int32, int64, uint8, uint16, uint32, uint64Integer numbers
float64floatfloat_, float16, float32, float64Floating point numbers
boolboolbool_True/False values
datetime64NAdatetime64[ns]Date and time values
timedelta[ns]NANADifferences between two datetimes
categoryNANAFinite list of text values
  • Google+
  • Pinterest

1 comment

  1. Be that as it may, not so much. Your organization stores information into the databases identified with your organization, as a rule inside a restrictive database that is an integral part to the product you've bought. ExcelR Data Science Courses