title: How to import matrix from excel into numpy and then graph it?
body: <p>I have a matrix in excel that I am trying to import and convert to a numpy matrix and then graph it with networkx how would I go about doing this? I do have some code but not sure if I am going about doing this correctly.</p>
  
  <pre><code>import networkx as nx
  import pandas as pd
  import numpy 
  from numpy import genfromtxt
  
  df=numpy.recfromcsv("Correlation_test.csv", delimiter=',', skiprows=1)
  
  nx.Graph(df)
  </code></pre>
  
  <p>Thanks</p>
  
  <p>This is what I have so far but, I keep getting an error saying "Input is not a correct numpy matrix or array".</p>