brew install mongodb
mkdir -p /data/dbEnsure that user account running mongod has correct permissions for the directory:
| # This code uses Biopython to retrieve lists of articles from pubmed | |
| # you need to install Biopython first. | |
| # If you use Anaconda: | |
| # conda install biopython | |
| # If you use pip/venv: | |
| # pip install biopython | |
| # Full discussion: |
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)
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE en-export SYSTEM "http://xml.evernote.com/pub/evernote-export3.dtd"> | |
| <en-export export-date="20130730T205637Z" application="Evernote" version="Evernote Mac"> | |
| <note> | |
| <title>Test Note for Export</title> | |
| <content> | |
| <![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <!DOCTYPE en-note SYSTEM "http://xml.evernote.com/pub/enml2.dtd"> | |
| <en-note style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> | |
| Hello, World. |