Skip to content

Commit

Permalink
fix: pandas import (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajberdy authored Oct 17, 2023
1 parent c44f36c commit 1ade6fc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,8 @@
}
],
"source": [
"import pandas as pd\n",
"\n",
"metrics = job.metrics()\n",
"df = pd.DataFrame(metrics)\n",
"df = df.groupby(\"iteration_number\").sum().reset_index()\n",
Expand Down Expand Up @@ -961,7 +963,6 @@
],
"source": [
"# Plotting the convergence of the loss function metric\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"\n",
"%matplotlib inline\n",
Expand Down Expand Up @@ -1037,4 +1038,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit 1ade6fc

Please sign in to comment.