Commit abfe2284 authored by Erly Villaroel's avatar Erly Villaroel

Cambios en create result para aceptar dataframe de pandas

parent 547dd646
...@@ -73,10 +73,10 @@ class Utils: ...@@ -73,10 +73,10 @@ class Utils:
used_list = transaction_counterpart_match if exclude_pivot else transaction_pivot_match used_list = transaction_counterpart_match if exclude_pivot else transaction_pivot_match
if data.count() == 0: if data.empty:
self.app.logger.info(f"El dataframe resultado esta vacio") self.app.logger.info(f"El dataframe resultado esta vacio")
else: else:
for i in data.collect(): for idx,i in data.iterrows():
input_data = {} input_data = {}
key_transaction = None key_transaction = None
key_group_pivot = None key_group_pivot = None
......
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