Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Changes the default count() behavior to perform a global row count instead #2653

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

jaychia
Copy link
Contributor

@jaychia jaychia commented Aug 14, 2024

Closes: #1996

Our new df.count() behavior will be similar to SELECT COUNT(*) in SQL, returning a new dataframe with a single "count" column.

@jaychia jaychia changed the title Jay/count behavior [FEAT] Changes the default count() behavior to perform a global row count instead Aug 14, 2024
@github-actions github-actions bot added the enhancement New feature or request label Aug 14, 2024
@jaychia jaychia enabled auto-merge (squash) August 15, 2024 01:43
@jaychia jaychia force-pushed the jay/count-behavior branch from edd187c to 4a1bc88 Compare August 15, 2024 22:33
@jaychia jaychia merged commit b961ad3 into main Aug 15, 2024
44 checks passed
@jaychia jaychia deleted the jay/count-behavior branch August 15, 2024 23:18
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@291bd96). Learn more about missing BASE report.
Report is 8 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2653   +/-   ##
=======================================
  Coverage        ?   63.74%           
=======================================
  Files           ?      979           
  Lines           ?   111536           
  Branches        ?        0           
=======================================
  Hits            ?    71104           
  Misses          ?    40432           
  Partials        ?        0           
Files Coverage Δ
daft/dataframe/dataframe.py 86.22% <100.00%> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix df.count() behavior to perform count_rows instead
1 participant