We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d498575 commit 34b4a29Copy full SHA for 34b4a29
datahub/opal.py
@@ -116,7 +116,7 @@ def create_opal_frame() -> pd.DataFrame:
116
An initial Dataframe for the opal data with key frame 0
117
"""
118
df = pd.DataFrame(0, index=range(1), columns=list(opal_headers.keys()))
119
- df["Time"] = pd.Timestamp(OPAL_START_DATE)
+ df["Time"] = pd.Timestamp(OPAL_START_DATE).as_unit("ns") # type: ignore[attr-defined] # noqa: E501
120
121
return df
122
0 commit comments