We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c146c commit 029ade7Copy full SHA for 029ade7
scripts/clone-tracking/fetch.py
@@ -44,6 +44,10 @@ def main(repo):
44
else:
45
df_clones_historical = pd.DataFrame(columns=["clone_count"])
46
47
+ # Ensure that the index is a datetime object
48
+ df_clones.index = pd.to_datetime(df_clones.index)
49
+ df_clones_historical.index = pd.to_datetime(df_clones_historical.index)
50
+
51
if len(df_clones):
52
# Merge df_clones and df_clones_historical.
53
df_clones = pd.concat([df_clones_historical, df_clones], axis=0)
0 commit comments