From 799731164ab848dfd1c823cf38d88155d47b0002 Mon Sep 17 00:00:00 2001
From: abc
Date: Fri, 13 Feb 2026 11:03:50 +0800
Subject: [PATCH 1/2] add update shell script with tags
---
up.sh | 4 ++++
1 file changed, 4 insertions(+)
create mode 100755 up.sh
diff --git a/up.sh b/up.sh
new file mode 100755
index 0000000000..0ff6ee232a
--- /dev/null
+++ b/up.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+git pull upstream main
+git fetch upstream --tags --prune
\ No newline at end of file
From 4894e7b848b7b52432293137430959df674b1bd5 Mon Sep 17 00:00:00 2001
From: abc
Date: Sat, 14 Feb 2026 02:01:53 +0800
Subject: [PATCH 2/2] support new format of freq in pandas
---
.../contrib/report/analysis_model/analysis_model_performance.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qlib/contrib/report/analysis_model/analysis_model_performance.py b/qlib/contrib/report/analysis_model/analysis_model_performance.py
index cac1f1b8ee..0d46c9d8af 100644
--- a/qlib/contrib/report/analysis_model/analysis_model_performance.py
+++ b/qlib/contrib/report/analysis_model/analysis_model_performance.py
@@ -157,7 +157,7 @@ def _corr_series(x, method):
_month_list = pd.date_range(
start=pd.Timestamp(f"{_index.min()[:4]}0101"),
end=pd.Timestamp(f"{_index.max()[:4]}1231"),
- freq="1M",
+ freq = '1ME' if tuple(map(int, pd.__version__.split('.'))) >= (2, 2, 0) else '1M',
)
_years = []
_month = []