Skip to content

Conversation

rofinn
Copy link

@rofinn rofinn commented May 27, 2022

Pretty similar to what was in this comment and seems to resolve one of our issues from switching from MLDataUtils.jl.

@codecov-commenter
Copy link

codecov-commenter commented May 27, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.97%. Comparing base (c1dc3c2) to head (90d3104).
Report is 137 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #87   +/-   ##
=======================================
  Coverage   89.97%   89.97%           
=======================================
  Files          14       14           
  Lines         479      479           
=======================================
  Hits          431      431           
  Misses         48       48           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

# Generic Fallbacks
getobs(data) = data
getobs(data, idx) = data[idx]
getobs(data, idx) = istable(data) ? collect(rows(data))[idx] : data[idx]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Collecting all rows is too expensive, let's wait for the outcome of the discussion here
JuliaData/Tables.jl#278 (comment)

@CarloLucibello
Copy link
Member

closing in favor of #124

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

Successfully merging this pull request may close these issues.

3 participants