Guest User

Untitled

a guest
Mar 20th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. Last login: Mon Mar 12 10:56:24 on ttys000
  2. MacBook-Pro-di-irene:~ irenevolpe$ echo "# Star-Wars" >> README.md
  3. MacBook-Pro-di-irene:~ irenevolpe$ git init
  4. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  5. MacBook-Pro-di-irene:~ irenevolpe$ jupyter nbconvert --to html Guided Project Visualizing The Gender Gap In College Degrees.ipynb
  6. [NbConvertApp] WARNING | pattern 'Guided' matched no files
  7. [NbConvertApp] WARNING | pattern 'Project' matched no files
  8. [NbConvertApp] WARNING | pattern 'Visualizing' matched no files
  9. [NbConvertApp] WARNING | pattern 'The' matched no files
  10. [NbConvertApp] WARNING | pattern 'Gender' matched no files
  11. [NbConvertApp] WARNING | pattern 'Gap' matched no files
  12. [NbConvertApp] WARNING | pattern 'In' matched no files
  13. [NbConvertApp] WARNING | pattern 'College' matched no files
  14. [NbConvertApp] WARNING | pattern 'Degrees.ipynb' matched no files
  15. This application is used to convert notebook files (*.ipynb) to various other
  16. formats.
  17.  
  18. WARNING: THE COMMANDLINE INTERFACE MAY CHANGE IN FUTURE RELEASES.
  19.  
  20. Options
  21. -------
  22.  
  23. Arguments that take values are actually convenience aliases to full
  24. Configurables, whose aliases are listed on the help line. For more information
  25. on full configurables, see '--help-all'.
  26.  
  27. --debug
  28. set log level to logging.DEBUG (maximize logging output)
  29. --generate-config
  30. generate default config file
  31. -y
  32. Answer yes to any questions instead of prompting.
  33. --execute
  34. Execute the notebook prior to export.
  35. --allow-errors
  36. Continue notebook execution even if one of the cells throws an error and include the error message in the cell output (the default behaviour is to abort conversion). This flag is only relevant if '--execute' was specified, too.
  37. --stdin
  38. read a single notebook file from stdin. Write the resulting notebook with default basename 'notebook.*'
  39. --stdout
  40. Write notebook output to stdout instead of files.
  41. --inplace
  42. Run nbconvert in place, overwriting the existing notebook (only
  43. relevant when converting to notebook format)
  44. --log-level=<Enum> (Application.log_level)
  45. Default: 30
  46. Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
  47. Set the log level by value or name.
  48. --config=<Unicode> (JupyterApp.config_file)
  49. Default: ''
  50. Full path of a config file.
  51. --to=<Unicode> (NbConvertApp.export_format)
  52. Default: 'html'
  53. The export format to be used, either one of the built-in formats, or a
  54. dotted object name that represents the import path for an `Exporter` class
  55. --template=<Unicode> (TemplateExporter.template_file)
  56. Default: ''
  57. Name of the template file to use
  58. --writer=<DottedObjectName> (NbConvertApp.writer_class)
  59. Default: 'FilesWriter'
  60. Writer class used to write the results of the conversion
  61. --post=<DottedOrNone> (NbConvertApp.postprocessor_class)
  62. Default: ''
  63. PostProcessor class used to write the results of the conversion
  64. --output=<Unicode> (NbConvertApp.output_base)
  65. Default: ''
  66. overwrite base name use for output files. can only be used when converting
  67. one notebook at a time.
  68. --output-dir=<Unicode> (FilesWriter.build_directory)
  69. Default: ''
  70. Directory to write output to. Leave blank to output to the current
  71. directory
  72. --reveal-prefix=<Unicode> (SlidesExporter.reveal_url_prefix)
  73. Default: ''
  74. The URL prefix for reveal.js. This can be a a relative URL for a local copy
  75. of reveal.js, or point to a CDN.
  76. For speaker notes to work, a local reveal.js prefix must be used.
  77. --nbformat=<Enum> (NotebookExporter.nbformat_version)
  78. Default: 4
  79. Choices: [1, 2, 3, 4]
  80. The nbformat version to write. Use this to downgrade notebooks.
  81.  
  82. To see all available configurables, use `--help-all`
  83.  
  84. Examples
  85. --------
  86.  
  87. The simplest way to use nbconvert is
  88.  
  89. > jupyter nbconvert mynotebook.ipynb
  90.  
  91. which will convert mynotebook.ipynb to the default format (probably HTML).
  92.  
  93. You can specify the export format with `--to`.
  94. Options include ['custom', 'html', 'latex', 'markdown', 'notebook', 'pdf', 'python', 'rst', 'script', 'slides']
  95.  
  96. > jupyter nbconvert --to latex mynotebook.ipynb
  97.  
  98. Both HTML and LaTeX support multiple output templates. LaTeX includes
  99. 'base', 'article' and 'report'. HTML includes 'basic' and 'full'. You
  100. can specify the flavor of the format used.
  101.  
  102. > jupyter nbconvert --to html --template basic mynotebook.ipynb
  103.  
  104. You can also pipe the output to stdout, rather than a file
  105.  
  106. > jupyter nbconvert mynotebook.ipynb --stdout
  107.  
  108. PDF is generated via latex
  109.  
  110. > jupyter nbconvert mynotebook.ipynb --to pdf
  111.  
  112. You can get (and serve) a Reveal.js-powered slideshow
  113.  
  114. > jupyter nbconvert myslides.ipynb --to slides --post serve
  115.  
  116. Multiple notebooks can be given at the command line in a couple of
  117. different ways:
  118.  
  119. > jupyter nbconvert notebook*.ipynb
  120. > jupyter nbconvert notebook1.ipynb notebook2.ipynb
  121.  
  122. or you can specify the notebooks list in a config file, containing::
  123.  
  124. c.NbConvertApp.notebooks = ["my_notebook.ipynb"]
  125.  
  126. > jupyter nbconvert --config mycfg.py
  127.  
  128. MacBook-Pro-di-irene:~ irenevolpe$ cd
  129. MacBook-Pro-di-irene:~ irenevolpe$ pwd
  130. /Users/irenevolpe
  131. MacBook-Pro-di-irene:~ irenevolpe$ cd ~/Desktop
  132. MacBook-Pro-di-irene:Desktop irenevolpe$ ls
  133. CSIL folder
  134. ESLII_print12.pdf food books
  135. Reference letter_ire.docx giallo_zafferano
  136. Reference letter_ire.pages hist_dq.png
  137. Schermata 2018-03-02 alle 23.30.05.png moley
  138. Senza titolo-1.indd moley_copia.docx
  139. Senza titolo-2.indd nutrients-10-00096.pdf
  140. Statement of Accomplishment.pdf pdf_certif_-2409257857912645062.jpg
  141. Untitled.ipynb pdf_certif_-2409257857912645062.pdf
  142. bars_dq.png pgb-informatics-2018.pdf
  143. bars_mine.png pgb-mathematics-2018.pdf
  144. ciao python
  145. cv schermate
  146. datacamp spesa oggi.pages
  147. dataquest statistics_with_data_science.docx
  148. fattura_ticketone.pdf
  149. MacBook-Pro-di-irene:Desktop irenevolpe$ cd dataquest/
  150. MacBook-Pro-di-irene:dataquest irenevolpe$ ls
  151. 10_Learning R 5_Probability and Statistics
  152. 11_Capstone Projects 6_Machine Learning
  153. 1_Python Introduction 7_Advanced Python and Computer Science
  154. 2_Data Analysis and Visualization 8_Advanced Topics in Data Science
  155. 3_The Command Line 9_Working With Large Datasets
  156. 4_Working with Data Sources birth.txt
  157. MacBook-Pro-di-irene:dataquest irenevolpe$ cd 1_Python\ Introduction/
  158. MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ ls
  159. 1_python_basics 2_Python_Intermediate
  160. MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ 2_Python_Intermediate/
  161. -bash: 2_Python_Intermediate/: is a directory
  162. MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ ls
  163. 1_python_basics 2_Python_Intermediate
  164. MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ cd 2_Python_Intermediate/
  165. MacBook-Pro-di-irene:2_Python_Intermediate irenevolpe$ ls
  166. Guided Project Visualizing Earnings Based On College Majors.ipynb
  167. Guided Project Visualizing The Gender Gap In College Degrees.ipynb
  168. Guided Project_Exploring Gun Deaths in the US.ipynb
  169. List Comprehensions.ipynb
  170. UNRATE.csv
  171. Untitled.ipynb
  172. Untitled1.ipynb
  173. Untitled2.ipynb
  174. Untitled3.ipynb
  175. Untitled4.ipynb
  176. all-ages.ipynb
  177. all-ages.txt
  178. census.csv
  179. classes.ipynb
  180. data cleaning
  181. error__handling.ipynb
  182. fandango-Copy1.ipynb
  183. fandango.ipynb
  184. guns.txt
  185. intro to pandas - food.ipynb
  186. list_comprehension_summarize.ipynb
  187. modules.ipynb
  188. nfl_suspensions.ipynb
  189. nfl_suspensions_data
  190. recent-grads.txt
  191. regex.ipynb
  192. schools
  193. thankgiving.ipynb
  194. thanksgiving.txt
  195. titanic.ipynb
  196. titanic_seaborn.ipynb
  197. titanic_seaborn_prove.ipynb
  198. unrate.ipynb
  199. women_degrees.ipynb
  200. MacBook-Pro-di-irene:2_Python_Intermediate irenevolpe$ vim women_degrees.ipynb
  201.  
  202. {
  203. "cells": [
  204. {
  205. "cell_type": "code",
  206. "execution_count": 1,
  207. "metadata": {
  208. "collapsed": false
  209. },
  210. "outputs": [
  211. {
  212. "data": {
  213. "text/html": [
  214. "<div>\n",
  215. "<table border=\"1\" class=\"dataframe\">\n",
  216. " <thead>\n",
  217. " <tr style=\"text-align: right;\">\n",
  218. " <th></th>\n",
  219. " <th>Year</th>\n",
  220. " <th>Agriculture</th>\n",
  221. " <th>Architecture</th>\n",
  222. " <th>Art and Performance</th>\n",
  223. " <th>Biology</th>\n",
  224. " <th>Business</th>\n",
Add Comment
Please, Sign In to add comment