Skip to content

Commit

Permalink
removing depricated functions (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASdOliveira authored Oct 14, 2021
1 parent 29fc848 commit c19ca27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jmetal/lab/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ def __averages_to_latex(

# Write data lines
for i in range(num_rows):
central_values = [v for v in central_tendency.ix[i]]
dispersion_values = [v for v in dispersion.ix[i]]
central_values = [v for v in central_tendency.iloc[i]]
dispersion_values = [v for v in dispersion.iloc[i]]

# Sort mean/median values (the lower the better if minimization)
# Note that mean/median values could be the same: in that case, sort by Std/IQR (the lower the better)
Expand Down Expand Up @@ -549,7 +549,7 @@ def __wilcoxon_to_latex(df: pd.DataFrame, caption: str, label: str, minimization

# Write data lines
for i in range(num_rows):
values = [val.replace("-", "\\text{--}\ ").replace("o", symbolo).replace("+", symbolplus) for val in df.ix[i]]
values = [val.replace("-", "\\text{--}\ ").replace("o", symbolo).replace("+", symbolplus) for val in df.iloc[i]]
output.write(
" \\textbf{{{0}}} & ${1}$ \\\\\n".format(df.index[i], " $ & $ ".join([str(val) for val in values]))
)
Expand Down

0 comments on commit c19ca27

Please sign in to comment.