ignore sort warning

This commit is contained in:
Fabian 2019-11-05 14:29:15 +01:00
parent f6e44d2805
commit b1a38229f4
3 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
configfile: "config.tutorial.yaml"
configfile: "config.yaml"
COSTS="data/costs.csv"

View File

@ -236,7 +236,7 @@ def _add_links_from_tyndp(buses, links):
links_tyndp.index = "T" + links_tyndp.index.astype(str)
return buses, links.append(links_tyndp)
return buses, links.append(links_tyndp, sort=True)
def _load_lines_from_eg(buses):
lines = (pd.read_csv(snakemake.input.eg_lines, quotechar="'", true_values='t', false_values='f',

View File

@ -182,7 +182,7 @@ def nuts3(country_shapes):
manual['geometry'] = manual['country'].map(country_shapes)
manual = manual.dropna()
df = df.append(manual)
df = df.append(manual, sort=False)
df.loc['ME000', 'pop'] = 650.