Skip to content

Commit

Permalink
fixed ds.summary with new json implmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
activesoull committed Nov 29, 2024
1 parent c449e87 commit 3420250
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deeplake/util/pretty_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ def get_string(
max_col = max_arr[col_no]
length = len(row[col_no])
starting_loc = (max_col - length) // 2
cell_value = "None" if row[col_no] == {} else row[col_no]
temp_str += (
" " * starting_loc
+ row[col_no]
+ cell_value
+ " " * (max_col - length - starting_loc)
)
return temp_str
Expand Down

0 comments on commit 3420250

Please sign in to comment.