Skip to content

Instantly share code, notes, and snippets.

@the-dan
Last active August 20, 2020 16:23
Show Gist options
  • Save the-dan/41e3f3f2aa65a1d96baedd5449e72907 to your computer and use it in GitHub Desktop.
Save the-dan/41e3f3f2aa65a1d96baedd5449e72907 to your computer and use it in GitHub Desktop.
Handy tools for Pandas
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Usage\n",
"-----\n",
"\n",
"First install https://github.com/the-dan/import_from_github_com with:\n",
"\n",
" $ pip install --user https://github.com/the-dan/import_from_github_com\n",
"\n",
"\n",
"Then in your Jupyter notebook:\n",
"\n",
" In []: from github_com.gist41e3f3f2aa65a1d96baedd5449e72907.prelude import *"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"from github_com.gist41e3f3f2aa65a1d96baedd5449e72907.notify import *"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can add your frequently used functions or imports below"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "folio",
"language": "python",
"name": "folio"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.7"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment