# Python ig.Graph.Adjacency TypeError: can't multiply sequence by non-int of type 'numpy.float64'

**URL:** <https://igraph.discourse.group/t/python-ig-graph-adjacency-typeerror-cant-multiply-sequence-by-non-int-of-type-numpy-float64/1586>\
**Category:** Usage\
**Tags:** Python\
**Created:** [15 June 2023 08:49 UTC](https://igraph.discourse.group/t/python-ig-graph-adjacency-typeerror-cant-multiply-sequence-by-non-int-of-type-numpy-float64/1586 "2023-06-15T08:49:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vtraag](https://yyz2.discourse-cdn.com/free1/user_avatar/igraph.discourse.group/vtraag/32/38_2.png) [@vtraag](https://igraph.discourse.group/u/vtraag)\
**Post date:** [16 June 2023 14:06 UTC](https://igraph.discourse.group/t/python-ig-graph-adjacency-typeerror-cant-multiply-sequence-by-non-int-of-type-numpy-float64/1586/2 "2023-06-16T14:06:58Z")

</div>

I believe that you should use the [`Weighted_Adjacency`](https://python.igraph.org/en/stable/api/igraph.Graph.html#Weighted_Adjacency) instead.

---

_[View the full topic](https://igraph.discourse.group/t/python-ig-graph-adjacency-typeerror-cant-multiply-sequence-by-non-int-of-type-numpy-float64/1586)._
