py-why / py-why/EconML

[Blocking issue] ValueError: need at least one array to concatenate

Open
#854 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

Hi EconML team, we're getting the below error in our builds:

image

Wondering if this logic should pass with empty arr in https://github.com/py-why/EconML/blob/479362aceb3205b6515adf5084f59a24ea79785d/econml/solutions/causal_analysis/_causal_analysis.py#L973
and if a new version of econml needs to be released so that our repo's builds can get unblocked with that - https://github.com/microsoft/responsible-ai-toolbox?

Thank you very much for your support!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at econml/solutions/causal_analysis/_causal_analysis.py:973 and inspect the empty-array path associated with the reported ValueError. Reproduce the failure in the responsible-ai-toolbox build if possible, then determine the intended behavior for empty input and verify that the affected build is unblocked.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.