I have a question about PageRank which may show that I don't understand it well. If I have a graph with two nodes "A" and "B" and the link A --> B weights 1.0 and B --> A weight 2.0, shouldn't A rank higher because its in-degree weights higher?
It seems that this is not the case when I try PageRank from networkx but I don't know why.
>>> from networkx import nx
>>> DG = nx.DiGraph()
>>> DG.add_weighted_edges_from([("A", "B", 1.0),("B", "A",2.0)])
>>> pr = nx.pagerank(DG)
>>> pr
{'A': 0.5, 'B': 0.5}