.. |join| replace:: :func:`~astropy.table.join` .. _mixin_columns: Mixin Columns ************* ``astropy`` tables support the concept of "mixin columns", which allows integration of appropriate non-|Column| based class objects within a |Table| object. These mixin column objects are not converted in any way but are used natively. The available built-in mixin column classes are: - |Quantity| and subclasses - |SkyCoord| and coordinate frame classes - |Time| and :class:`~astropy.time.TimeDelta` - :class:`~astropy.coordinates.EarthLocation` - `~astropy.table.NdarrayMixin` Basic Example ============= .. EXAMPLE START: Using Mixin Columns in Tables As an example we can create a table and add a time column:: >>> from astropy.table import Table >>> from astropy.time import Time >>> t = Table() >>> t['index'] = [1, 2] >>> t['time'] = Time(['2001-01-02T12:34:56', '2001-02-03T00:01:02']) >>> print(t) index time ----- ----------------------- 1 2001-01-02T12:34:56.000 2 2001-02-03T00:01:02.000 The important point here is that the ``time`` column is a bona fide |Time| object:: >>> t['time']