File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,14 @@ class HarryPotter(object):
1616 def __init__ (self , cols = None ):
1717
1818 # Read dataset in using pandas. Fix index column or use default pandas index.
19- < << << << HEAD
19+
2020 try :
2121 fname = "https://raw.githubusercontent.com/pnnl/HyperNetX/master/hypernetx/utils/toys/HarryPotter_Characters.csv"
2222 harrydata = pd .read_csv (fname , encoding = "unicode_escape" )
2323 except :
2424 fname = f'{ current_dir } /HarryPotter_Characters.csv'
2525 harrydata = pd .read_csv (fname , encoding = "unicode_escape" )
26- == == == =
27- # try:
28- # fname = "HarryPotter_Characters.csv"
29- # harrydata = pd.read_csv(f'{current_dir}/{fname}', encoding="unicode_escape")
30- # except:
31- fname = "https://raw.githubusercontent.com/pnnl/HyperNetX/master/hypernetx/utils/toys/HarryPotter_Characters.csv"
32- harrydata = pd .read_csv (fname , encoding = "unicode_escape" )
33- >> >> >> > master
26+
3427 self .harrydata = pd .DataFrame (harrydata )
3528
3629 # Choose string to fill NaN. These will be set to 0 in system id = sid
You can’t perform that action at this time.
0 commit comments