Skip to content

Commit

Permalink
Merge branch 'master' into jsdependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 1, 2016
2 parents 1b7bde3 + 47858ab commit af3a8a5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Expand Up @@ -47,12 +47,8 @@ after_script:
- zip -r test_data.zip doc/test_data/
- aws s3 cp --region eu-west-1 ./test_data.zip "s3://preview.holoviews.org/$TRAVIS_BUILD_NUMBER/test_data_py${TRAVIS_PYTHON_VERSION:0:1}.zip"
- aws s3 cp --recursive --region eu-west-1 ./doc/test_html "s3://travis.holoviews.org/build_$TRAVIS_BUILD_NUMBER"
- curl -s -X GET "https://kq5y73i0xe.execute-api.eu-west-1.amazonaws.com/dev/travis-index"
- aws s3 rm --recursive --region eu-west-1 s3://preview.holoviews.org/$(($TRAVIS_BUILD_NUMBER - 4))

after_success: coveralls

after_deploy:
- curl -s -X GET "https://kq5y73i0xe.execute-api.eu-west-1.amazonaws.com/dev/travis-holoviews-index"
- aws s3 rm --recursive --region eu-west-1 s3://preview.holoviews.org/$(($TRAVIS_BUILD_NUMBER - 4))
- curl -s -X GET "https://kq5y73i0xe.execute-api.eu-west-1.amazonaws.com/dev/github-status"

after_success: coveralls
2 changes: 1 addition & 1 deletion doc/Tutorials/Bokeh_Backend.ipynb
Expand Up @@ -530,7 +530,7 @@
},
"outputs": [],
"source": [
"macro_df = pd.read_csv('http://ioam.github.com/holoviews/Tutorials/macro.csv', '\\t')"
"macro_df = pd.read_csv('http://assets.holoviews.org/macro.csv', '\\t')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion doc/Tutorials/Columnar_Data.ipynb
Expand Up @@ -636,7 +636,7 @@
},
"outputs": [],
"source": [
"macro_df = pd.read_csv('http://ioam.github.com/holoviews/Tutorials/macro.csv', '\\t')\n",
"macro_df = pd.read_csv('http://assets.holoviews.org/macro.csv', '\\t')\n",
"\n",
"dimensions = {'unem': 'Unemployment',\n",
" 'capmob': 'Capital Mobility',\n",
Expand Down
2 changes: 1 addition & 1 deletion doc/Tutorials/Composing_Data.ipynb
Expand Up @@ -117,7 +117,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<center><img src=\"https://ioam.github.io/holoviews/Tutorials/nesting-diagram.png\"></center>"
"<center><img src=\"https://assets.holoviews.org/nesting-diagram.png\"></center>"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions doc/Tutorials/Exploring_Data.ipynb
Expand Up @@ -104,7 +104,7 @@
},
"outputs": [],
"source": [
"iobuffer = BytesIO(urlopen('http://ioam.github.com/holoviews/Tutorials/hurricane.npz').read())\n",
"iobuffer = BytesIO(urlopen('http://assets.holoviews.org/hurricane.npz').read())\n",
"data = np.load(BytesIO(iobuffer.getvalue()))\n",
"dates = data['dates']\n",
"surface_data, nearsrfc_data = data['surface'], data['near_surface']"
Expand Down Expand Up @@ -656,7 +656,7 @@
"main_cols = ['temp', 'humidity', 'pressure']\n",
"\n",
"tables = hv.HoloMap(kdims=['City', date_dim])\n",
"iobuffer = BytesIO(urlopen('http://ioam.github.com/holoviews/Tutorials/weather.json').read())\n",
"iobuffer = BytesIO(urlopen('http://assets.holoviews.org/weather.json').read())\n",
"weather_json = json.loads(iobuffer.read().decode())\n",
"for entry in weather_json:\n",
" city, date = entry['key']\n",
Expand Down
4 changes: 2 additions & 2 deletions doc/Tutorials/Pandas_Conversion.ipynb
Expand Up @@ -8,7 +8,7 @@
"\n",
"Combining the high-performance data analysis tools and I/O capabilities that Pandas provides with the interactivity and ease of generating complex visualization in HoloViews makes the two libraries a perfect match.\n",
"\n",
"In this tutorial we will explore how you can easily convert between Pandas dataframes and HoloViews components. The tutorial assumes you are already familiar with some of the core concepts of both libraries, so if you need more background on HoloViews have a look at the [Introduction](http://ioam.github.io/holoviews/Tutorials/Introduction) and [Exploring Data](http://ioam.github.io/holoviews/Tutorials/Exploring_Data) and [Columnar Data](http://ioam.github.io/holoviews/Tutorials/Columnar_Data) tutorials."
"In this tutorial we will explore how you can easily convert between Pandas dataframes and HoloViews components. The tutorial assumes you are already familiar with some of the core concepts of both libraries, so if you need more background on HoloViews have a look at the [Introduction](holoviews.org/Tutorials/Introduction) and [Exploring Data](http://holoviews.org/Tutorials/Exploring_Data) and [Columnar Data](http://holoviews.org/Tutorials/Columnar_Data) tutorials."
]
},
{
Expand Down Expand Up @@ -48,7 +48,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The first thing to understand when working with pandas dataframes in HoloViews is how data is indexed. Pandas dataframes are structured as tables with any number of columns and indexes. HoloViews, on the other hand, deals with Dimensions. HoloViews container objects such as [HoloMap](https://ioam.github.io/holoviews/Tutorials/Containers.html#HoloMap), [NdLayout](https://ioam.github.io/holoviews/Tutorials/Containers.html#NdLayout), [GridSpace](https://ioam.github.io/holoviews/Tutorials/Containers.html#GridSpace) and [NdOverlay](https://ioam.github.io/holoviews/Tutorials/Containers.html#NdOverlay) have kdims, which provide metadata about the data along that dimension and how they can be sliced. [Element](https://ioam.github.io/holoviews/Tutorials/Elements.html) objects, on the other hand, have both key dimensions (``kdims``) and value dimensions (``vdims``). The kdims of a HoloViews datastructure represent the position, bin or category along a particular dimension, while the value dimensions usually represent some continuous variable.\n",
"The first thing to understand when working with pandas dataframes in HoloViews is how data is indexed. Pandas dataframes are structured as tables with any number of columns and indexes. HoloViews, on the other hand, deals with Dimensions. HoloViews container objects such as [HoloMap](https://ioam.github.io/holoviews/Tutorials/Containers.html#HoloMap), [NdLayout](https://holoviews.org/Tutorials/Containers.html#NdLayout), [GridSpace](https://holoviews.org/Tutorials/Containers.html#GridSpace) and [NdOverlay](https://holoviews.org/Tutorials/Containers.html#NdOverlay) have kdims, which provide metadata about the data along that dimension and how they can be sliced. [Element](https://holoviews.org/Tutorials/Elements.html) objects, on the other hand, have both key dimensions (``kdims``) and value dimensions (``vdims``). The kdims of a HoloViews datastructure represent the position, bin or category along a particular dimension, while the value dimensions usually represent some continuous variable.\n",
"\n",
"Let's start by constructing a Pandas dataframe of a few columns and display it as its HTML format (throughout this notebook we will visualize the dataframes using the IPython HTML display function, to allow this notebook to be tested automatically, but in ordinary work you can visualize dataframes directly without this mechanism)."
]
Expand Down

0 comments on commit af3a8a5

Please sign in to comment.