Skip to content

Instantly share code, notes, and snippets.

@ihuston
Created March 6, 2017 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihuston/6ee96549529a58b67195d2f4728053fa to your computer and use it in GitHub Desktop.
Save ihuston/6ee96549529a58b67195d2f4728053fa to your computer and use it in GitHub Desktop.
Minimal Pandas + Conda CF app
from io import StringIO
import requests
import pandas as pd
r = requests.get("https://www.plants.usda.gov/java/downloadData?fileName=plantlst.txt&static=true").text
df = pd.read_csv(StringIO(r))
print(df)
while True:
pass
exit(0)
name: root
dependencies:
- mkl
- numpy
- pandas
- openssl
- requests
- python=3.6
---
applications:
- name: conda-test2
memory: 1GB
disk_quota: 2GB
random-route: true
command: python app.py
buildpack: python_buildpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment