The absolute basics of time series data for beginners.
Published
October 28, 2026
In this article, we will cover the basics of time series data - what it is, why it matters, and how it is unique.
What is a Time Series?
A time series is a data set in which the observations, the instances, or the rows, are in some type of sequential order. Consider the following example from a data set that includes average march temperatures for the state of Pennsylvania from 1895-2026:
Notice that the index for our data set is in years, and these years are in sequential (generally, chronological) order. This is what makes it a time series.
Time series are arranged along a timeline. There is a chronological order to the data, and typically the index is temporal in nature. Interestingly, other types of data follow similar patterns to time series without being temporal in nature. DNA sequencing, noise, and sound frequencies, for example, can follow many of the same patterns that time series do, and many of the same rules apply. We will not delve into those applications here, but it is good to know that they exist.
The main point is that, when it comes to time series data, order matters. There is a sequence to the rows, to the instances, and to the observations.
Regular and Irregular Time Series
Time series data can fit into two categories: regular time series and irregular time series. This refers to the frequency of the data. Most of the data you will work with are regular time series, meaning the observations occur at a consistent frequency. Daily, weekly, monthly, quarterly, and yearly data are all examples of regular time series.
Irregular time series, unlike regular time series, do not have consistent spacing. Consider a machine that records a timestamp, along with information about what happened, every time it malfunctions or produces an error. The spacing between those records is random, which produces an irregular time series. This is just one example. Regular time series are much easier to work with, so an irregular time series is often converted into a regular time series through a process called resampling, which we will cover in a future article.
The Prevalance of Time Series Data
Time series are important regardless of the industry or field in which you work. Time affects everything around us; everything that happens in our world takes place in time. There are countless, almost infinite, examples. Here are just a few:
Weather conditions, such as the daily average temperature or monthly rainfall
Stock market data, such as the daily closing prices of stocks
Medical data, such as a patient’s heart rate taken every second
Transportation data, such as the monthly number of flight passengers in the US
Economic data, such as the annual GDP of the United States
Wildlife data, such as the number of wolf sightings each month in Yellowstone National Park
Sales and marketing data, such as quarterly sales of a certain product
Law enforcement data, such crime statistics in Louisville, KY for the past 10 years
The list could go on. Time series are literally everywhere. Can you think of an example of time series data in your company or organization?
If you are a data professional, sooner or later you will work with time series. This is why it is so crucial to learn how to understand and handle time series data.
How are Time Series Unique?
You may be asking why we need separate training and instruction for working with time series data. “Could I not apply the same methods, concepts, and models that I learned on other types of data to time series?” The answer is: “not exactly”. Many of the same ideas and steps carry over, but there are also many differences. The following are the key differences that make working with time series unique. We will expand upon these in much greater detail in future articles.
Key Difference #1: Order Matters
The first key difference with time series is that the order of the data is important. The index of a time series provides a sequential order for the observations. We cannot shuffle a time series the way we would shuffle a cross-sectional data set, because shuffling destroys many of the things that make the time series valuable, including the ways we can use it to predict future values. For this reason, order matters.
Key Difference #2: Autocorrelation
The second key difference is autocorrelation. This is a fancy word that simply means correlation with itself. The data in a time series are typically not independent of each other; one instance may depend heavily on the instance that came before it. Think of a time series like setting up a line of dominos next to each other. If you push the first domino, each successive domino is impacted. This is a simple illustration for how instances of a time series impact future instances. There is a great deal of correlation within many time series, and models are often built by using that autocorrelation to your advantage. We are therefore not dealing with independent instances, as we often want to with other types of data.
Key Difference #3: Structure
Time series have unique structures that are extremely informative for understanding the series and for predicting its future instances. Examples of time series structural elements include trends, seasonality, and cycles. This is one reason we rely heavily on visualization. Visualization is always important when working with data, but with time series data it is irreplaceable. You have to be able to visualize your data in order to grasp the underlying structure.
Key Difference #4: Unique Preparation and Models
Because of the points above, there are unique preparation steps to take when planning and choosing a model. Examples include rolling-horizon cross-validation, which we will cover in the future; not shuffling your data set, as already mentioned; and ensuring that you have a datetime index to work from. At times you may need to perform a process called differencing on your data set. We will cover these preparation steps in more detail later. There are also models designed specifically for time series, such as ARIMA, exponential smoothing, and state space models, as well as variations of models you may have used with cross-sectional data but designed with time series in mind.
Key Difference #5: Different Goals
With time series, we are often, though not always, trying to predict outside the range of known values; we are predicting the future. With other data sets, the goal is often to predict within the bounds of the sample data. Time series are different, and we often approach them with the specific goal of forecasting in mind.
Conclusion
To sum it up: because time series are all around us and unique, we as data professionals must equip ourselves to work with them effectively.