mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 18:34:32 +02:00
If only one distinct value, record that in most_commond and leave least_common as null
This commit is contained in:
parent
ca2ccccac2
commit
5c176ccbe0
1 changed files with 0 additions and 1 deletions
|
|
@ -1961,7 +1961,6 @@ class Table(Queryable):
|
|||
"select [{}] from [{}] limit 1".format(column, table)
|
||||
).fetchone()[0]
|
||||
most_common = [value]
|
||||
least_common = [value]
|
||||
else:
|
||||
most_common = [
|
||||
(r[0], r[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue