Loading…
Create a pandas DataFrame with a date column containing the strings '2021-01-01' and '2021-01-02'. Convert the column to datetime type, then print just the date column (the Series, e.g. print(df[date])).
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.