I have several DataFrames containing time series data, and would like to create a simple visualization of the range of time ranges for each of these DataFrames. Since I could not generate this using code, I included a sketch to illustrate my purpose.

Here is some code to create three DataFrames that are greatly simplified, smaller versions of the DataFrames I'm working with.
from pandas import DataFrame from numpy import datetime64, random
I tried to take the min and max datetime values from each of the DataFrames and put them in a new DataFrame, but when I try to build them, I get an error that there are no values to build.
I also tried to take only the “Time” column and set Integer to the “value” column (that is, sensor 1 receives the broadcast of Int 1 into the column “value”, sensor 2 receives the broadcast of Int 2 and so on), then merges these DataFrames.
But this results in a lot of duplicate values in the Time column and Nan values in the value column.
I ran out of ideas on how to make this work.
EDIT: fixed 2001 timestamp in code block; -)
source share