Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.51 KB

README.md

File metadata and controls

57 lines (39 loc) · 2.51 KB

Udacity datascience

This is my version of end project did in Fundamentals of Data Science Nanodegree I provided by Udacity in late 2017.

Structure

Jupyter Notebook

By easy design and documenting mind, this analysis was made in Jupyter Notebook, which is "an amazing open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text".

** Obs: ** You can see my jupyter notebook on this project out of the box by opening the this file.

Libraries

The main libraries used in this project are:

  • pandas - "a library providing high-performance, easy-to-use data structures and data analysis tools"
  • numpy - "the fundamental package for scientific computing with Python"
  • matplotlib - "a plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments"

Pre requisites

There are many ways of having this enviroment for running this project, I encourage you to use python virtualenv provided by PIP, a package installer for python.

How to play-it

First of all, you will need to create you virtualenv rather in python 3. So once you download this project, you can run in project root folder:

$ virtualenv --python='/usr/local/bin/python3' .ENV

This will create a folder called .ENV with some struct inside it. Once this has been successfully, you will need to activate you virtual env. This can be made with following code:

$ source .ENV/bin/activate

You may note that now your bash has a prefix (probably .ENV). This indicates that you are inside your virtualenv profile. You can try run 'python -V'and should get your python 3 version. Now you need to install the project dependencies, that are stored in requirements.txt file. Fortunately, PIP has a command for this kind of files:

$ pip install -r requirements.txt

Now that all your dependencies have been resolved, you can run this jupyter notebook by running:

$ jupyter notebook bay_area_bike_share_analysis.ipynb

Now you can play-it on your browser.

Quiting

For stop running Jupyter, you can press Ctrl+C and YES on terminal. And for quiting your virtualenv you cand type:

$ deactivate

Authors