diff --git a/scratch-log-explorations.ipynb b/scratch-log-explorations.ipynb index 3d957737a0941733b95ec7db893fcbea91d3e601..b0509f35ac0c14ccfe8cd5c6bea6ea1315e794d0 100644 --- a/scratch-log-explorations.ipynb +++ b/scratch-log-explorations.ipynb @@ -86,7 +86,7 @@ " '''\n", " split each name=value field on = and return the value\n", " '''\n", - " return x.split(\"=\")[1]" + " return x.split(\"=\", 1)[1]" ] }, { @@ -116,6 +116,7 @@ "outputs": [], "source": [ "df = pd.read_csv(file,\n", + " lineterminator='\\n',\n", " sep=\"|\", header=0, \n", " #on_bad_lines=\"warn\", \n", " index_col=False,\n",