TimeSeriesStructure[tes]
gives structural information about the timestamps and each value component for the time or event series tes.
TimeSeriesStructure[tes,comps]
gives structural information for the components comps.
TimeSeriesStructure[tes,comps,props]
selects the properties props to report.
TimeSeriesStructure
TimeSeriesStructure[tes]
gives structural information about the timestamps and each value component for the time or event series tes.
TimeSeriesStructure[tes,comps]
gives structural information for the components comps.
TimeSeriesStructure[tes,comps,props]
selects the properties props to report.
Details
- TimeSeriesStructure is typically used to get structural information for each value component.
- TimeSeriesStructure works on TimeSeries and EventSeries.
- TimeSeriesStructure[tes,comps,props] returns a Tabular object in which the properties props are column keys and the values components comps are entries in the key column.
- Possible forms cols of column specification include:
-
All all components of the input data {comp1,comp2,…} list of components of the input data spatt string pattern for the component keys of the data crit criterion function to select component keys - Possible properties props include:
-
"Type" type of the component "MissingCount" number of missing elements in the component "NonMissingCount" number of non-missing elements in the component "ByteCount" byte count of the component "DuplicateFreeQ" whether the component has unique entries "CountDistinct" number of unique entries {prop1,prop2,…} list of properties propi above All list of all the properties above Automatic automatic choice of some of the properties above
Examples
open all close allBasic Examples (2)
Build a report for a simple TimeSeries:
TimeSeries[{1, 3, 2, 5, 6}, {0}]TimeSeriesStructure[%]Build a report for a TimeSeries with multiple value components:
ts = TimeSeries[ToTabular[<|"a" -> RandomReal[1, 10], "b" -> RandomChoice[{"one", "two", "three"}, 10], "c" -> Array[Subscript[x, #]&, 10], "d" -> Array[x, {10, 2}]|>, "Columns"], {DateObject[{2023, 9, 1}]}]TimeSeriesStructure[ts]Include only some components and report only about some properties:
TimeSeriesStructure[ts, {"a", "b"}, {"MissingCount", "ByteCount"}]Scope (2)
Take time series of air quality for the year 2023 in Champaign, IL:
ts = TimeSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> True, "Count" -> 365,
"Endpoints" -> TabularColumn[Association[
"Data" -> {2, {{NumericArray[{19358, 19722}, "Integer32"], {}, None}}, None},
"ElementType" ... , InterpolationOrder -> 1},
"Category" -> "PreviousElement", "Defining Parameter" -> "PreviousElement"],
"TimeWindow" -> DateInterval[{DateObject[{2023, 1, 1}, "Day"], DateObject[{2023, 12, 31},
"Day"]}], "MetaInformation" -> None]];TimeSeriesStructure[ts]Include all available properties:
TimeSeriesStructure[ts, All, All]TimeSeriesStructure[ts, All, "ResamplingMethod"]Take an event series of UK recessions:
es = EventSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False,
"Timestamps" -> TabularColumn[Association[
"Data" -> {19, {{{-17040758400000, -8331033600000, -8236339200000, -6248275200000,
-4986057600000, - ... -> ByteArray["4P//"], "Capacity" -> 19,
"BitCount" -> 14}]}, "ElementType" -> "String"]]}}]]]],
Association["TimeWindow" -> DateInterval[{DateObject[{1430}, "Year"],
DateObject[{2023}, "Year"]}], "MetaInformation" -> None]];TimeSeriesStructure[es]Find structural information for some of the components:
TimeSeriesStructure[es, {"Causes", "Name"}]Report only about the value components that contain "u" in their name:
TimeSeriesStructure[es, "*u*"]History
Text
Wolfram Research (2026), TimeSeriesStructure, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeSeriesStructure.html.
CMS
Wolfram Language. 2026. "TimeSeriesStructure." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeSeriesStructure.html.
APA
Wolfram Language. (2026). TimeSeriesStructure. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeSeriesStructure.html
BibTeX
@misc{reference.wolfram_2026_timeseriesstructure, author="Wolfram Research", title="{TimeSeriesStructure}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/TimeSeriesStructure.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_timeseriesstructure, organization={Wolfram Research}, title={TimeSeriesStructure}, year={2026}, url={https://reference.wolfram.com/language/ref/TimeSeriesStructure.html}, note=[Accessed: 12-June-2026]}