Skip to content

Commit

Permalink
Merge pull request #2 from Zeutschler/dev
Browse files Browse the repository at this point in the history
samples, docs
  • Loading branch information
Zeutschler authored Oct 6, 2024
2 parents 458e5cf + aa5be1f commit e6917a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ for i in range(1000):
> nc = NanoCube(df, dimensions=['col1', 'col2'], mesaures=['col100'])
> ```

> **Tip**: Use dimensions with highest cardinality first. This yields much faster response time
> when more than 2 dimensions need to be filtered.
> ```
> nc.get(promo=True, discount=True, customer='4711') # bad=slower, non-selevtive columns first
> nc.get(customer='4711', promo=True, discount=True) # good=faster, most selective column first
> ```

### Lightning fast - really?
For aggregated point queries NanoCube are up to 100x or even 1,000x times faster than Pandas.
For this special purpose, NanoCube is even faster than other DataFrame oriented libraries,
Expand Down

0 comments on commit e6917a1

Please sign in to comment.