Commit e229caa7 authored by Dr.李's avatar Dr.李

make sure return df

parent ecfe86a2
......@@ -360,7 +360,7 @@ class SqlEngine(object):
res['chgPct'] = df.chgPct
res['secShortName'] = df['secShortName']
res = res.loc[ref_date]
res = res.loc[ref_date:ref_date, :]
res.index = list(range(len(res)))
return res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment