From 52a58dd4ade3e7c3aedf32a3b742c80eb78b8d94 Mon Sep 17 00:00:00 2001 From: Scott Peterson Date: Sun, 8 Nov 2026 14:28:08 -0500 Subject: [PATCH] Update tidy.md--Fix misspelling of object Fixed misspelling of object --- episodes/tidy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/tidy.md b/episodes/tidy.md index edef5e0e..23e2510d 100644 --- a/episodes/tidy.md +++ b/episodes/tidy.md @@ -302,7 +302,7 @@ You can use each content unit (e.g., RDM, DMP, Python) as an observation, and br ## Adding a Date Column -In order to plot this data over time in the data visualization we need to do three things to prepare it. First, we need to combine the year and month columns into its own column. Second, convert the new date column to a [datetime](https://docs.python.org/3/library/datetime.html) objec using the Pandas `to_datetime` function. Third, we assign the date column as our index for the data. These steps will set up our data for plotting. +In order to plot this data over time in the data visualization we need to do three things to prepare it. First, we need to combine the year and month columns into its own column. Second, convert the new date column to a [datetime](https://docs.python.org/3/library/datetime.html) object using the Pandas `to_datetime` function. Third, we assign the date column as our index for the data. These steps will set up our data for plotting. ``` python df_long['date'] = df_long['year'] + '-' + df_long['month']