# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
:param data: Full data set with unavailable samples replaced by nan.
:type data: OrderedDict
:returns: Classification and trend values
:param data: Full data set with unavailable samples replaced by nan.
:type data: OrderedDict
:returns: Classification and trend values
active_group = group_list.pop()
values_left = len(active_group.run_list)
avg = active_group.stats.avg
active_group = group_list.pop()
values_left = len(active_group.run_list)
avg = active_group.stats.avg
def convert_csv_to_pretty_txt(csv_file_name, txt_file_name, delimiter=u","):
def convert_csv_to_pretty_txt(csv_file_name, txt_file_name, delimiter=u","):
if txt_file_name.endswith(u".txt"):
with open(txt_file_name, u"wt", encoding='utf-8') as txt_file:
txt_file.write(str(txt_table))
if txt_file_name.endswith(u".txt"):
with open(txt_file_name, u"wt", encoding='utf-8') as txt_file:
txt_file.write(str(txt_table))