Skip to content

Instantly share code, notes, and snippets.

View EricG-Personal's full-sized avatar

Eric G EricG-Personal

View GitHub Profile
The structure of my kmz file:
$ ls -laR test_kml
total 24
drwxr-xr-x 5 ericgorr staff 170 Apr 26 11:03 .
drwxrwxr-x 12 ericgorr staff 476 Apr 26 11:14 ..
-rw-r--r--@ 1 ericgorr staff 479 Apr 26 11:03 doc.kml
drwxr-xr-x 3 ericgorr staff 102 Apr 26 08:54 files
test_kml/files:
@EricG-Personal
EricG-Personal / gist:7f7ab6addd6d9bf6f1f522c332417497
Created June 24, 2018 01:19
A better way to transform the dataframe?
I have a dataframe that looks like:
```
Jan Feb Mar \
actual budgeted difference actual budgeted difference actual
Income 889 6716 1687 2437 7137 3640 10288
Expenses 2478 5548 12623 2190 12882 9232 9947
Difference 10661 657 7365 -147 10289 7044 3639
```
@EricG-Personal
EricG-Personal / gist:4d7cfe6fdb2cdda15ac48f41157a0f83
Created April 3, 2018 17:53
result of pip download Sphinx --no-binary :all:
Collecting sphinxcontrib-websupport (from Sphinx)
Downloading sphinxcontrib-websupport-1.0.1.tar.gz (590kB)
100% |████████████████████████████████| 593kB 1.5MB/s
Saved ./sphinxcontrib-websupport-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/ericg/py36env/lib/python3.6/site-packages/setuptools/__init__.py", line 10, in <module>
from setuptools.extern.six.moves import filter, filterfalse, map
File "/Users/ericg/py36env/lib/python3.6/site-packages/setuptools/extern/__init__.py", line 1, in <module>