wiheto / teneto

Temporal Network Tools
GNU General Public License v3.0
86 stars 26 forks source link

does df_to_array return array with wrong size? #38

Closed granitz closed 5 years ago

granitz commented 5 years ago

Trying to extract array from tvc dataframe. tnet.load_data('tsv') df = tnet.tvcdata teneto.utils.df_to_array(df,[N,N,T],'wu')

This returns array with size N,N,N. What could be wrong?

granitz commented 5 years ago

Actually it should be teneto.utils.df_to_array(df,[N,T],'wu') which returns correct array