3d-bpp icon indicating copy to clipboard operation
3d-bpp copied to clipboard

dashboard.py with error

Open rlacjfjin opened this issue 2 years ago • 1 comments

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

rlacjfjin avatar Sep 01 '22 01:09 rlacjfjin

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.

Wadaboa avatar Sep 06 '22 08:09 Wadaboa