Skip to content

Commit

Permalink
fix: treat version as string and not float (#58)
Browse files Browse the repository at this point in the history
Avoid truncation of `8.10` to `8.10` when rendering plot

fix #54
  • Loading branch information
sjungling authored Aug 26, 2024
1 parent 0d3a19f commit bcf5ae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moderne_visualizations_misc/gradle_wrappers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"source": [
"from code_data_science import data_table as dt\n",
"\n",
"df = dt.read_csv(\"../samples/gradle_wrappers.csv\")\n",
"df = dt.read_csv(\"../samples/gradle_wrappers.csv\", dtype={\"version\": str})\n",
"df.head()"
]
},
Expand Down Expand Up @@ -73,7 +73,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit bcf5ae5

Please sign in to comment.