Skip to content

Commit

Permalink
Deployed b20b78a to master with MkDocs 1.5.3 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 5, 2024
1 parent 8cfc9ff commit b81d05e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions master/nimlite/funcs/groupby.nim
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,7 @@ proc groupby*(T: nimpy.PyObject, keys: seq[string], functions: seq[(string, Accu
var columnsPaths: OrderedTable[string, seq[string]] = collect(initOrderedTable()):
for cn in columnNames:
{cn: tabliteBase.collectPages(T[cn])}

for cn in columnNames:
var pages: seq[string] = tabliteBase.collectPages(T[cn])
columnsPaths[cn] = pages

var pbar = tqdm!(desc: &"groupby", total: len(columnsPaths[toSeq(columnsPaths.keys)[0]]))
var aggregationFuncs = initOrderedTable[seq[PY_ObjectND], seq[(string, GroupByFunction)]]()
for pagesZipped in pageZipper(columnsPaths):
for row in iteratePages(pagesZipped):
Expand All @@ -666,6 +662,7 @@ proc groupby*(T: nimpy.PyObject, keys: seq[string], functions: seq[(string, Accu
aggFuncs = aggregationFuncs[key]
for (cn, fun) in aggFuncs:
fun.update(some(d[cn]))
discard pbar.update(1)

var keysFuncCols = keys
for (cn, acc) in functions:
Expand All @@ -692,7 +689,7 @@ proc groupby*(T: nimpy.PyObject, keys: seq[string], functions: seq[(string, Accu
for p in pages:
discard column.pages.append(p)
newTable[cn] = column

discard pbar.close()
return newTable

# when appType != "lib":
Expand Down
Binary file modified master/nimlite/libnimlite.so
Binary file not shown.
Binary file modified master/sitemap.xml.gz
Binary file not shown.

0 comments on commit b81d05e

Please sign in to comment.