Mentions légales du service

Skip to content
Snippets Groups Projects
Commit dd2a2422 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

Added orderColumns to data/tableDisplay

parent 25a2f397
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,14 @@ indexDict = OrderedDict([ ...@@ -74,6 +74,14 @@ indexDict = OrderedDict([
('rec','Semantic recall'), ('rec','Semantic recall'),
('conv','Convergence')]) ('conv','Convergence')])
def orderColumns( colList ):
result = []
for name in indexDict:
if name in colList:
result += [name]
return result
def orderRenameTableStandard( df ): def orderRenameTableStandard( df ):
return orderRenameTable( df, indexDict ) return orderRenameTable( df, indexDict )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment