TabularColumnQ
TabularColumnQ[tcol]
yields True if tcol is a valid TabularColumn object, and False otherwise.
TabularColumnQ[tcol,tsel]
yields True if the elements of tcol have type matching tsel, and False otherwise.
Details
- TabularColumnQ tests whether an input is a valid TabularColumn object.
- For a string pattern spatt, TabularColumnQ[tcol,spatt] checks whether the elements of tcol have a type matching spatt.
- The column type selector tsel can have one of these forms:
-
tpatt type pattern tclass named class of types - Possible type patterns tpatt include cases like "Integer*" or "Quantity"::["Real64",_].
- Possible type classes tclass include:
-
"Numbers" number types "MachineNumbers" machine-sized number types "Reals" real-valued types, including integers "MachineReals" machine-sized real-valued types, including integers "Integers" integer types "MachineIntegers" machine-sized integer types "FloatingPoint" numbers with floating-point representation "MachineFloatingPoint" machine-sized real and complex numbers "FloatingPointReals" real numbers with floating-point representation "MachineFloatingPointReals" machine-sized real numbers "FloatingPointComplexes" complex numbers with floating-point representation "Lists" each element is a list
Examples
open allclose allBasic Examples (3)
Test whether an object is a valid TabularColumn object:
Test whether an object is a valid TabularColumn object:
Test whether an object is a valid TabularColumn object:
Test whether the elements of the tabular column are strings:
Scope (6)
Check validity of TabularColumn objects of different types:
TabularColumnQ gives False for anything that is not a TabularColumn object:
TabularColumn objects can be empty:
A TabularColumn object can contain list elements:
It is not a Tabular object:
Check the type of a TabularColumn object:
Check whether this TabularColumn object has an integer form of element type:
Properties & Relations (2)
TabularColumnQ gives False for a Tabular object with a single column:
Use TabularQ to validate Tabular objects of any dimensions:
Extract the column of that Tabular object:
Columns and rows are not Tabular objects:
TabularColumnQ validates TabularColumn objects:
TabularRowQ validates TabularRow objects:
Text
Wolfram Research (2025), TabularColumnQ, Wolfram Language function, https://reference.wolfram.com/language/ref/TabularColumnQ.html.
CMS
Wolfram Language. 2025. "TabularColumnQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TabularColumnQ.html.
APA
Wolfram Language. (2025). TabularColumnQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TabularColumnQ.html