Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fridiculous/ipython-workbench
personal utility functions for data and analytics
https://github.com/fridiculous/ipython-workbench
Last synced: 9 days ago
JSON representation
personal utility functions for data and analytics
- Host: GitHub
- URL: https://github.com/fridiculous/ipython-workbench
- Owner: fridiculous
- License: mit
- Created: 2014-11-23T08:23:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-23T19:26:52.000Z (almost 10 years ago)
- Last Synced: 2023-03-16T12:21:27.593Z (over 1 year ago)
- Language: Python
- Size: 133 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
personal ipython workbench
=========Contains scripts, utility librarys and packages that I'm commonly using for datascience and analytics
This is made for python3
## Installation
```
git clone [email protected]:fridiculous/ipython-workbench.git
```### Prereqs
as for a local installation for mac os 10.9+
```
# make sure python 2 is up to date
brew update
brew upgrade python
pip install virtualenv --upgrade
pip install virtualenvwrapper --upgrade
``````
# install python3 and make virtual environment called 'data3'
brew install python3
mkvirtualenv -p /usr/local/bin/python3 data3
```### Installation for packages:
```
workon data3
pip install -r requirements.txt
```## Usage
e.g. pulling a pandas dataframe from a postgres database
```
from connect_to_db import ConnectToDB
cdb = ConnectToDB()df = cdb.get_query('SELECT * FROM users LIMIT 10')
```