This document contains snippets that I've used and tested. It's not meant to be an official guide, but rather a document for looking up small snippets of code. For an extensive reference on the API, please visit the official documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Settings for all callouts / admonitions: */ | |
| .callout { | |
| background-color: hsl(220, 16%, 16%); | |
| } | |
| /* Settings for individual callouts / admonitions: */ | |
| .callout[data-callout="important"] { /* same name as in callout to be changed */ | |
| --callout-color: 19, 203, 232; /* rgb only */ |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)