Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions xing/xaquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ def request(self, input, output, stopCond=[], isNext=False):
startIndex = len(df)
for p in range(0,self.query.GetBlockCount(self.type + k)):
for col in list(df.columns.values):
df.set_value(p + startIndex, col, self.query.GetFieldData(self.type + k, col, p))
df.at[p + startIndex, col] = self.query.GetFieldData(self.type + k, col, p)
# df.set_value deprecated
else:
for col in v.keys():
v[col] = self.query.GetFieldData(self.type + k, col, 0)
Expand All @@ -298,4 +299,4 @@ def request(self, input, output, stopCond=[], isNext=False):
# log.debug("<<<<< [%s-Query] 결과(callNext=True):%s" % (self.type,self.output))
return self.output
except Exception:
traceback.print_exc(file=sys.stdout)
traceback.print_exc(file=sys.stdout)