an obvious way would be to modify the example so that it does not use pandas
(which seems to be only used to read data from csv files, something that's 
totally orthogonal to the task at hand)

On Monday, April 2, 2018 at 4:57:27 PM UTC+2, HG wrote:
>
> I tried networkx, it works fine with python2 but I have a problem with 
> edges in sagemath ?
>
> edgelist.head(10)
>
> TypeError: cannot do slice indexing on <class
>  'pandas.core.indexes.range.RangeIndex'> with these indexers 
> [10] of <type 'sage.rings.integer.Integer'>
> Is there a way getting it working ?
>
>
>
> Le dimanche 1 avril 2018 08:19:11 UTC+2, jori.ma...@uta.fi a écrit :
>>
>> I was walking at 
>> https://kintulammi.fi/wp-content/uploads/Kintulammi_Opaskartta.jpg and 
>> hence wondered if Sagemath has a function to solve 
>> https://en.wikipedia.org/wiki/Route_inspection_problem . Didn't found 
>> any, 
>> is it hidden with some other name or module? 
>>
>> -- 
>> Jori Mäntysalo 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to