Manual:Worksheets and data tables/Data columns and property columns

From Altaxo
Jump to: navigation, search

Data columns and property columns

Although there are different types of data columns (numerical columns, text columns, date-time columns), the data in a single column are all of the same type. This is in contrast to programs like MS Excel®, where you can have data of arbitrary type in each cell of a column.

Thus, when you create new columns, make sure that you choose the appropriate column type for your data.

To have some meta-information for the data columns, let’s say the physical dimension of the numbers in a data column, there exist "horizontal columns” containing that information. In Altaxo they are called "property columns" (Note: I’m fully aware that the term ‘column’ is misleading here, because they are represented as rows in the worksheet view, but the underlying type in the data table is a data column). Like data columns, property columns also have different types: numeric, text or date-time. If your data table contains property columns, you will find them below the data column header.

In the following figure the different regions of a worksheet are designated.

Man Wks Intro Fig010.png

The figure shows a worksheet with three data columns, named ‘Name’, ‘Length’ and ‘Weight’. The first data column name is a text column, whereas the other two data columns are numeric columns. There are only two data rows in the worksheet. The other rows are unused. Unused text cells are empty, unused numerical cells are represented by ‘NaN’, which means Not_A_Number, and this it what it says: there is no number in those cells.

There are also two property columns in the worksheet, named ‘Unit’ and ‘Description’. Both are of type TextColumn. Note how those property columns holding meta data for the data column. Property columns are marked by their property column header at the left, and the larger height of the cells.


previous chapter Table of contents next chapter