Cross Sectional vs Time Series Data
Data can broadly be grouped into Cross Sectional and Time Series data, and knowing which type you're working with shapes the entire analysis approach.
Cross Sectional Data
# A snapshot of many subjects at a single point in time
CustomerID Age Income City
1 25 40000 Delhi
2 31 55000 Mumbai
3 28 48000 Noida
Each row represents a different subject observed at roughly the same time - there's no inherent order or time dependency between the rows.
Time Series Data
# The same subject observed repeatedly over time
Month Sales
Jan-2025 200
Feb-2025 220
Mar-2025 210
Apr-2025 250
Here, order matters - each observation is connected to the one before and after it, and patterns like trend or seasonality only make sense because of that ordering.
Why the Distinction Matters
Cross sectional data can typically be shuffled without losing meaning, while shuffling time series data destroys the very patterns you're trying to analyze - this is why time series needs specialized models and evaluation methods.
Coming Up Next
Next, you'll take a closer look at the individual components that make up a Time Series.