random_samples_lambda = PoissonPointProcess(points.window, points.n, conditioning=True, samples=1000, asPP=True)
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pointpats/process.py", line 249, in __init__
super(PoissonPointProcess, self).__init__(window, n, samples, asPP)
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pointpats/process.py", line 113, in __init__
self.realizations[sample] = PP(points, window=self.window)
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pointpats/pointpattern.py", line 90, in __init__
self.df.columns = col_names
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pandas/core/generic.py", line 5152, in __setattr__
return object.__setattr__(self, name, value)
File "pandas/_libs/properties.pyx", line 66, in pandas._libs.properties.AxisProperty.__set__
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pandas/core/generic.py", line 564, in _set_axis
self._mgr.set_axis(axis, labels)
File "/home/ubuntu/dj36/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 227, in set_axis
f"Length mismatch: Expected axis has {old_len} elements, new "
ValueError: Length mismatch: Expected axis has 1 elements, new values have 2 elements
Hi, I am occasionally running into the following error (I am not sure yet what causes it exactly ...). Any ideas?
pointpats.version = '2.2.0' pandas.version = '1.1.3'