1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

init_instance_by_config enhancement (#1103)

* fix SepDataFrame when we del it to empty

* init_instance_by_config enhancement

* Update test_sepdf.py
This commit is contained in:
you-n-g
2022-05-21 20:16:22 +08:00
committed by GitHub
parent 9a40fd3cdc
commit cc94c32db6
2 changed files with 15 additions and 7 deletions

View File

@@ -53,7 +53,8 @@ class SepDF(unittest.TestCase):
# it will not raise error, and df will be an empty dataframe
del sdf["g1"]
del sdf["g2"] # sdf should support deleting all the columns
del sdf["g2"]
# sdf should support deleting all the columns
if __name__ == "__main__":