It appears that read.csv() converts floats to factors if they have a large number of decimal places.
test_works.csv:
a,b
1.255,2.993
1.834,2.555
| <html> | |
| <body> | |
| <script type="text/javascript" src="http://impactstory.org/embed/v1/impactstory.js"></script> | |
| <div class="impactstory-embed" id="impactstory" data-id="19210768" data-id-type="pmid" data-api-key="API-DOCS"></div> | |
| </body> | |
| </html> |
| javascript:date=new Date(); | |
| url_root='http://nbviewer.ipython.org/'; | |
| url=null; | |
| gist=location.href.match(/^https?:\/\/gist.github.com\/([0-9]+)$/); | |
| if (gist) { | |
| url = url_root + gist[1]; | |
| } else { | |
| path=location.href.match(/^https?:\/\/(.*\.ipynb)$/); | |
| if (path) { | |
| url=url_root + 'url/' + path[1];}} |
| """Trying Michael Hansen's temperature trend example using Pandas | |
| The original example, without Pandas, is available at: | |
| http://software-carpentry.org/2012/05/an-exercise-with-matplotlib-and-numpy/ | |
| """ | |
| import os | |
| import pandas | |
| import numpy as np | |
| import matplotlib.pyplot as pyplot |
| #!/usr/bin/env bash | |
| # Generates gource video (h.264) out of multiple repositories. | |
| # Pass the repositories in command line arguments. | |
| # Example: | |
| # <this.sh> /path/to/repo1 /path/to/repo2 | |
| i=0 | |
| for repo in $*; do | |
| # 1. Generate a Gource custom log files for each repo. This can be facilitated by the --output-custom-log FILE option of Gource as of 0.29: | |
| logfile="$(mktemp /tmp/gource.XXXXXX)" |