How to set the precision of clustering

Hi i am trying to get global and local clustering of price network with 10k
nodes but I am consistently getting 0.0 for both. How do I remedy that?

attachment.html (327 Bytes)

I already explained this to you. There is nothing wrong here. It is not
a problem of "precision". A price network with degree one has no
triangles, and hence a clustering coefficient of zero, independently of
how large it is.

I'll ask again: Please, in the future provide a short, self-contained
example which allows me observe the same problem myself. It is not very
useful to post series of one-line questions which can either be
trivially obtained from the documentation, or cannot be verified because
it does not contain sufficient information.

Best,
Tiago