Skip to content

Commit

Permalink
Merge pull request #172 from ironmussa/develop
Browse files Browse the repository at this point in the history
Changes for 1.2.1
  • Loading branch information
FavioVazquez authored Nov 15, 2017
2 parents 52a5647 + e6750be commit ecfd409
Show file tree
Hide file tree
Showing 13 changed files with 578 additions and 52 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ MAINTAINER Jupyter Project <[email protected]>

USER root

RUN pip install --no-cache-dir optimuspyspark
RUN pip install --no-cache-dir optimuspyspark -U
RUN git clone https://github.com/ironmussa/Optimus-examples.git /home/jovyan/work
RUN chmod -R 777 /home/jovyan/work

Expand Down
4 changes: 2 additions & 2 deletions docs/source/sections/analyzing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ Lets say we want to plot a histogram of frecuencies for the ``product`` column.

.. code:: python
productDf = analyzer.get_data_frame.select("product") #or df.select("product")
productDf = analyzer.df.select("product") #or df.select("product")
hist_dictPro = analyzer.get_categorical_hist(df_one_col=productDf, num_bars=10)
print(hist_dictPro)
Expand Down Expand Up @@ -417,7 +417,7 @@ Lets say we want to plot a histogram of frequencies for the ``price`` column. We

.. code:: python
priceDf = analyzer.get_data_frame.select("price") #or df.select("price")
priceDf = analyzer.df.select("price") #or df.select("price")
hist_dictPri = analyzer.get_numerical_hist(df_one_col=priceDf, num_bars=10)
print(hist_dictPri)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/sections/feature.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Let's create a sample dataframe to see what vector assembler does:
# Show assembled df
print("Assembled columns 'hour', 'mobile', 'userFeatures' to vector column 'features'")
transform.get_data_frame.select("features", "clicked").show(truncate=False)
transform.df.select("features", "clicked").show(truncate=False)
+-----------------------+-------+
Expand Down
Loading

0 comments on commit ecfd409

Please sign in to comment.