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:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user