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

Don't assume numpy/pandas is available in guess_param_types #630

Merged
merged 5 commits into from
May 26, 2022

Conversation

maximlt
Copy link
Member

@maximlt maximlt commented May 19, 2022

Implementing the suggestion in #629 (comment), needs #629 to be merged first

guess_param_types is actually not used at all across HoloViz and not documented. The PR that added this utility - #317 - says that it "has cropped up several times and has resulted in some level of code duplication" and points to HoloViews Streams.define classmethod which indeed could make use of this utility, since it's basically inlining a partial implementation of it.

#317 provides more details about the usefulness of this utility, and on the conversions it doesn't yet support.

@codecov-commenter
Copy link

codecov-commenter commented May 19, 2022

Codecov Report

Merging #630 (7dea58e) into master (ad7d22a) will increase coverage by 1.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
+ Coverage   83.07%   84.26%   +1.18%     
==========================================
  Files           5        5              
  Lines        3084     3088       +4     
==========================================
+ Hits         2562     2602      +40     
+ Misses        522      486      -36     
Impacted Files Coverage Δ
numbergen/__init__.py 83.96% <0.00%> (+3.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad7d22a...7dea58e. Read the comment docs.

@philippjfr philippjfr force-pushed the guessparamtypes_guard_pandasnumpy branch from 0c35872 to 456172a Compare May 26, 2022 16:10
@philippjfr philippjfr merged commit 25d76ca into master May 26, 2022
@philippjfr philippjfr deleted the guessparamtypes_guard_pandasnumpy branch May 26, 2022 17:54
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.

4 participants