Skip to content

Commit

Permalink
Fixed issue in TableDocumentDescriber
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Jul 12, 2021
1 parent d2d73dc commit 8d71481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delta/util.py
Expand Up @@ -285,7 +285,7 @@ def group_name(self, document_name):
return self.table.at[document_name, self.group_col]

def item_name(self, document_name):
return self.table.at[document_name, self.item_name]
return self.table.at[document_name, self.name_col]


def ngrams(iterable, n=2, sep=None):
Expand Down Expand Up @@ -400,4 +400,4 @@ def compare_pairwise(df, comparisons=None):
results[col_out] = longform

index = pd.MultiIndex.from_tuples(itertools.combinations(df.index, 2))
return pd.DataFrame(results, index=index)
return pd.DataFrame(results, index=index)

0 comments on commit 8d71481

Please sign in to comment.