DateTimeComponent

class glue.core.component.DateTimeComponent(data, units=None)[source]

Bases: glue.core.component.Component

A component representing a date/time.

Parameters
data~numpy.ndarray

The data to store, with ~numpy.datetime64 dtype

Parameters
  • data (numpy.ndarray) – The data to store

  • units (str) – Optional unit label

Attributes Summary

datetime

Whether or not or not the datatype is a date/time

numeric

Whether or not the datatype is numeric

Attributes Documentation

datetime[source]
numeric[source]