Skip to content

datatypes

lepy edited this page Oct 19, 2017 · 8 revisions

data types

  • Group
  • Dataset
  • Testprogram(Group)
  • Table(Dataset)
  • Testseries(Group)
  • Test(Group)

python vs. blaze.datashape

Python type Datashape
int int32
bool bool
float float64
complex complex[float64]
str string
unicode string
datetime.date date
datetime.time time
datetime.datetime datetime or datetime[tz=’’]
datetime.timedelta units[‘microsecond’, int64]
bytes bytes
bytearray bytes
buffer bytes

http://datashape.pydata.org/overview.html

table

table metadata

{
  # required
  "name": "name of field/column (should correspond to field name in data)",

  # not strictly required but strongly recommended
  "type": "A string specifying the data type for data in this field",

  # all of these are optional ...
  "title": "A nicer human readable label or title for the field",
  "format": "A string specifying format of data (e.g. date format)",
  "description": "A description for the field",
  ...
}

Links:

Clone this wiki locally