Skip to content

Commit

Permalink
Implement
Browse files Browse the repository at this point in the history
  • Loading branch information
abegong committed Jul 1, 2019
1 parent a5545d4 commit 121a28e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions great_expectations/render/renderer/other_section_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,20 @@ def _render_header(cls, evrs, content_blocks):
@classmethod
def _render_dataset_info(cls, evrs, content_blocks):

table_rows = [
["Number of variables", "12", ],
["Number of observations", "891", ],
table_rows = []
table_rows.append(["Number of variables", "12", ])

row_count_evr = cls._find_evr_by_type(
evrs["results"],
"expect_table_row_count_to_be_between"
)
if row_count_evr != None:
table_rows.append([
"Number of observations",
row_count_evr["result"]["observed_value"]
])

table_rows += [
["Missing cells", "866 (8.1%)", ],
["Duplicate rows", "0 (0.0%)", ],
["Total size in memory", "83.6 KiB", ],
Expand Down

0 comments on commit 121a28e

Please sign in to comment.