Skip to content

Commit

Permalink
#update seriesstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
yutiansut committed Jul 15, 2018
1 parent 06faa19 commit 171d296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QUANTAXIS/QAData/QASeriesStruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def new(self, series):
return temp

def select_code(self, code):
return self.new(self.series.loc[(slice(None), code),:])
return self.new(self.series.loc[(slice(None), code)])

def select_time(self, start, end=None):
if end is None:
Expand Down

0 comments on commit 171d296

Please sign in to comment.