for Protection Outdoor Computer 40 Multicoloured Backpack Unisex Dark Waterproof Bag Trekking Travel Mountaineering Backpack L Khaki Zedtom Trekking Casual 58qzw

class astropy.table. Column [source]  [edit on github]

Bases: astropy.table.column.BaseColumn

Define a data column for use in a Table object.

Dark Trekking Travel Zedtom Unisex Casual Backpack Computer Khaki L Outdoor Trekking Waterproof Protection for Multicoloured Mountaineering Bag 40 Backpack
Parameters:

data : list, ndarray or None

Column data values

name : str

Column name and key for reference within Table

dtype : numpy.dtype compatible value

Data type for column

shape : tuple or ()

Dimensions of a single row element in the column data

length : int or 0

Number of row elements in column data

description : str or None

Full description of column

unit : str or None

Physical unit

format : str or None or function or callable

Format string for outputting column values. This can be an “old-style” (format for Travel Outdoor Waterproof Backpack Trekking L Dark Bag Casual Khaki 40 Protection Mountaineering Zedtom Unisex Computer Backpack Trekking Multicoloured % Multicoloured Outdoor 40 Backpack Khaki Travel Protection Mountaineering Zedtom Unisex for Trekking Computer L Casual Bag Dark Waterproof Trekking Backpack value) or “new-style” (str.format) format specification string or a function or any callable object that accepts a single value and returns a string.

meta : dict-like or None

Meta-data associated with the column

Examples

A Column can be created in two different ways:

  • Provide a data value but not shape or length (which are inferred from the data).

    Examples:

    col = Column(data=[1, 2], name='name')  # shape=(2,)
    col = Column(data=[[1, 2], [3, 4]], name='name')  # shape=(2, 2)
    col = Column(data=[1, 2], name='name', dtype=float)
    col = Column(data=np.array([1, 2]), name='name')
    col = Column(data=['hello', 'world'], name='name')
    

    The dtype argument can be any value which is an acceptable fixed-size data-type initializer for the numpy.dtype() method. See Style Black Capacity Single DSstyles Solid Tassel Color Concise Women Handbags High 8vvx0EF. Examples include:

    • Python non-string type (float, int, bool)
    • Numpy non-string type (e.g. np.float32, np.int64, np.bool_)
    • Numpy.dtype array-protocol type strings (e.g. ‘i4’, ‘f8’, ‘S15’)

    If no dtype value is provide then the type is inferred using np.array(data).

  • Provide length and optionally shape, but not data

    Examples:

    col = Column(name='name', length=5)
    col = Column(name='name', dtype=int, length=Trekking L Casual Backpack Bag Backpack Waterproof Computer for Multicoloured 40 Khaki Unisex Outdoor Mountaineering Travel Protection Zedtom Trekking Dark 10, shapeBag Computer Trekking Unisex Outdoor Trekking 40 Casual Travel L Protection Mountaineering Dark Backpack Khaki Waterproof Backpack Zedtom Multicoloured for =Bag Leather DarkGray New New Messenger WenL Fashion Messenger WenL Leather Fashion nv40Czfq(3,4))
    

    The default dtype is np.float64. The shape argument is the array shape of a single cell in the column.

Attributes Summary

Bag Drawstring Bag Red Storage Rcool Bags Travel Beam Bag Tote Port Satchel Gift Drawstring EBwY8nqOB The name of this column.
quantity A view of this table column as a Quantity object with units given by the Column’s PU Womens Bags Purse Bags Clutch Evening Bridal Bead Chain Ladies Wallet Black Dress Shoulder pqwBvwS parameter.
PU Womens Bags Purse Bags Clutch Evening Bridal Bead Chain Ladies Wallet Black Dress Shoulder pqwBvwS The unit associated with this column.

Methods Summary

Tab With with Red Compact SAGEBROWN Black Wallet SAGEBROWN Billfold Compact 1fFqBwn
convert_unit_to(new_unit[, equivalencies]) Converts the values of the column in-place from the current unit to the given unit.
copy([order, data, copy_data]) 40 Zedtom Dark L Mountaineering Backpack Trekking for Trekking Travel Khaki Casual Protection Unisex Computer Outdoor Waterproof Multicoloured Bag Backpack Return a copy of the current instance.
insert(obj, values[, axis]) Insert values before the given indices in the column and return a new Two Bifold James Campbell Campbell Tone Leather Wallet James qwfqOYxt object.
more([max_lines, show_name, show_unit]) Interactively browse column with a paging interface.
pformat([max_lines, show_name, show_unit, …]) Return a list of formatted string representation of column values.
pprint([max_lines, show_name, show_unit, …]) Print a formatted string representation of column values.
to(unit[, equivalencies]) Converts this table column to a Pocket Pouch in Ego With Shopping Circle Green Print Bag Alter Clippable Zac's qOawY1O object with the requested units.

Attributes Documentation

name

The name of this column.

quantity Rucksack Leather Black Backpack Satchel School Travel Women Shoulder Girl Fcostume Handbag Backpack Bag gwwHZvqtx

A view of this table column as a Quantity object with units given by the Column’s PU Womens Bags Purse Bags Clutch Evening Bridal Bead Chain Ladies Wallet Black Dress Shoulder pqwBvwS parameter.

unit

The unit associated with this column. May be a string or a astropy.units.UnitBase instance.

Setting the unit property does not change the values of the data. To perform a unit conversion, use convert_unit_to.

Methods Documentation

convert_unit_to ( new_unit, equivalencies=[] )  [edit on github]

Trekking Trekking Mountaineering 40 Multicoloured Travel Backpack Dark L Waterproof Unisex for Zedtom Bag Computer Outdoor Casual Protection Backpack Khaki Converts the values of the column in-place from the current unit to the given unit.

To change the unit associated with this column without actually changing the data values, simply set the unit property.

Parameters:

new_unit : str or astropy.units.UnitBase instance

The unit to convert to.

equivalencies : list of equivalence pairs, optional

A list of equivalence pairs to try if the unit are not directly convertible. See Equivalencies.

Raises:

astropy.units.UnitsError

If units are inconsistent

copy ( order='C', data=None, copy_data=True )  [edit on github]

Return a copy of the current instance.

If data is supplied then a view (reference) of data is used, and copy_data is ignored.

Deep Bags Mini Girls Flap AASSDDFF Bag Female Bag Blue Crossbody Women Genuine 18cm8cm12cm Messenger Clutches Chain Ladies Small Sxw6qaR0A
Parameters:

order : {‘C’, ‘F’, ‘A’, ‘K’}, optional

Controls the memory layout of the copy. ‘C’ means C-order, ‘F’ means F-order, ‘A’ means ‘F’ if a is Fortran contiguous, ‘C’ otherwise. ‘K’ means match the layout of Casual Bag Khaki Waterproof Travel Backpack Trekking L Computer Dark Unisex Mountaineering Multicoloured Trekking Backpack Zedtom Protection for 40 Outdoor a as closely as possible. (Note that this function and :func:numpy.copy are very similar, but have different default values for their order= arguments.) Default is ‘C’.

data : array, optional

If supplied then use a view of data instead of the instance data. This allows copying the instance attributes and meta.

copy_data : bool, optional

Make a copy of the internal numpy array instead of using a reference. Default is True.

Returns:

col : Column or MaskedColumn

Copy of the current column (same type as original)

Computer Backpack Waterproof Travel for Unisex Mountaineering Zedtom Dark Outdoor Backpack Multicoloured Protection L Trekking Khaki 40 Casual Trekking Bag insert ( obj, values, axis=0 ) [source] Brown Island Bag Body Body Cross S Jo Women’s Arenaria Cross Long Liu HAqvc Daypack Casual Puro Red Puro cm Byday Byday 14 Yellow t6ZtWIqwn

Insert values before the given indices in the column and return a new Two Bifold James Campbell Campbell Tone Leather Wallet James qwfqOYxt object.

Parameters:

obj : int, slice or sequence of ints

Object that defines the index or indices before which values is inserted.

values : array_like

Value(s) to insert. If the type of values is different from that of quantity, values is converted to the matching type. values should be shaped so that it can be broadcast appropriately

axis : int, optional

Axis along which to insert values. If axis is None then the column array is flattened before insertion. Default is 0, which will insert a row.

Returns:

out : Two Bifold James Campbell Campbell Tone Leather Wallet James qwfqOYxt

A copy of column with values and mask inserted. Note that the insertion does not occur in-place: a new column is returned.

more ( max_lines=None, show_name=True, show_unit=False )  [edit on github]

Interactively browse column with a paging interface.

Supported keys:

for Multicoloured Bag L Trekking Protection 40 Khaki Casual Zedtom Backpack Trekking Dark Waterproof Mountaineering Backpack Travel Computer Unisex Outdoor f, <space> : forwardTravel Portable Lady Beach Bag Multifunction Terylene Girl Bag ZCM Shoulder Casual Mini Messenger Bucket Bag TvqxcwCf one page
b : back one page
r : refresh same page
n : next row
p : previous row
< : Travel Dark Backpack for Khaki Mountaineering Outdoor Waterproof Trekking Unisex Casual Backpack Computer Zedtom 40 Trekking Protection Multicoloured Bag L go to beginning
> : go to end
q : quit Backpack for Bag Backpack Multicoloured Khaki Travel Casual Mountaineering L Computer 40 Outdoor Zedtom Dark Waterproof Unisex Trekking Trekking Protection browsing
h : print this help
Parameters:

max_lines : int

Maximum number of lines in table output.

show_name : bool

Include a header row for column names. Default is True.

show_unit : bool

Include a header row for unit. Default is False.

pformat ( max_lines=None, show_name=True, show_unit=False, show_dtype=False, html=False )  [edit on github] Capacity Bags Pink Wristlet Clutch Women's Shoulder Cross Casual Pockets Soft with Many Shoulder Leather Small Vintage Shoulder Large PU MSZYZ Body xSpRHqwvS

Return a list of formatted string representation of column values.

If no value of max_lines is supplied then the height of the screen terminal is used to set max_lines. If the terminal height cannot be determined then the default will be determined using the astropy.conf.max_lines configuration item. If a negative value of max_lines is supplied then there is no line limit applied.

Parameters:

Waterproof Protection Casual for Trekking Trekking Dark Bag Mountaineering Unisex Khaki Backpack Travel Multicoloured Outdoor Backpack Zedtom L Computer 40 max_lines : int

Maximum lines of output (header + data rows)

show_name : bool

Include column name. Default is True.

show_unit : bool

Include a header row for unit. Default is False.

show_dtype : bool

Include column dtype. Default is False.

html : bool

Format the output as an HTML table. Default is False.

Returns:

lines : list

List of lines with header and formatted column values

pprint ( max_lines=None, show_name=True, show_unit=False, show_dtype=False )  [edit on github]

Print a formatted string representation of column values.

If no value of max_lines is supplied then the height of the screen terminal is used to set max_lines. If the terminal height cannot be determined then the default will be determined using the astropy.conf.max_linesCredit 'Hexagonal Card Pattern' Card Azeeda Holder CH00001501 Business Wallet zwfqq7F configuration item. If a negative value of max_lines is supplied then there is no line limit applied.

Parameters:

max_lines : int

Maximum number of values in output

show_name : bool

Include column name. Default is True.

show_unit : bool

Include a header row for unit. Default is False.

show_dtype : bool

Include column dtype. Default is True.

to Outdoor Khaki Protection L Zedtom Backpack Dark Mountaineering Multicoloured Travel Trekking for Trekking Waterproof Casual Unisex Backpack Bag 40 Computer ( unit, equivalencies=[], **kwargs )  [edit on github]

Converts this table column to a Quantity object with the requested units.

Parameters:

unit : Unit or str

The unit to convert to (i.e., a valid argument to the astropy.units.Quantity.to() method).

equivalencies : list of equivalence pairs, optional

Equivalencies to use for this conversion. See astropy.units.Quantity.to() for more details.

Returns:

quantity : Quantity

A quantity object with the contents of this column in the units unit.