3d-bpp
3d-bpp copied to clipboard
dashboard.py with error
Hi, When I run dashboard.py, there has following error:
pyarrow.lib.ArrowInvalid: ("Could not convert 'Total' with type str: tried to convert to int64", 'Conversion failed for column layer with type object')
I think it may be caused by layer column value in bin.layer_pool.describe() is mixed which are int and string. I transfer the layer value type:
df = bin.layer_pool.describe()
df["layer"] = df["layer"] .apply(str)
It's ok.
I'm not sure if it's a version problem that's causing these problems. Anyway, this is the problem I encountered and the solution. I hope other people with the same problem can refer to it.
Thanks
Hi,
Thanks for opening the issue and sharing your solution. I'll leave this thread open for others to comment and refer to.
Best, Alessio.