-
Couldn't load subscription status.
- Fork 63
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bugs Please fill the below form if possible.
In the latest documentation I read:
Current Behaviour
import zfit
import numpy as np
obs = zfit.Space('x', limits=(0, 10))
data_array = np.random.normal(loc=5, scale=1, size=1000)
data = zfit.Data.from_numpy(obs=obs, array=data_array)
print(data.nentries)
print(data.nevents)the first one fails, the second one works.
Expected Behaviour
Context (Environment)
Both lines should work
- zfit version:
- Python version: 0.27.1
- Are you using conda, pipenv, etc? : micromamba
- Operating System: AlmaLinux9
- Tensorflow version: 2.19.0
Possible Solution/Implementation
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working