How to print all the output of a cell in Jupyter notebook.

Normally, Jupyter notebook only displays the last output of the cell; all others are ignored unless you use the print() function (for Python 3).

For example:

1+2
2+3
1+2
2+3

Jupyter only displays the following as the output:

5

3, the output for 1+2 gets totally ignored. The simple hack below will fix this.

from IPython.core.interactiveshell import InteractiveShell  InteractiveShell.ast_node_interactivity = "all"

Basically, put the code above in the beginning of your notebook and voilĂ , all the output is printed.

3
5

Fundamentals of Data Science: History and Future of Data Science

History

Capability increased due to decreasing cost of data storage, cpu, and bandwidth.

Demand increased due to large amount of data being generated.

Future

  • Demand for talent
    • “The future is so bright, Ada would need shades” – Joseph Burton
  • Emerging subdisciplines
    • Machine Learning Engineer
    • Data Visualization Engineer
    • Data Journalist
    • Big Data Engineer
  • Continued reduction in technical learning curve
    • Automation around machine learning and data wrangling
  • Ethics
    • risk of discrimination in “Black Box” models
    • machine learning can be used for bad as well as for good