Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Mon Mar 12 10:56:24 on ttys000
- MacBook-Pro-di-irene:~ irenevolpe$ echo "# Star-Wars" >> README.md
- MacBook-Pro-di-irene:~ irenevolpe$ git init
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- MacBook-Pro-di-irene:~ irenevolpe$ jupyter nbconvert --to html Guided Project Visualizing The Gender Gap In College Degrees.ipynb
- [NbConvertApp] WARNING | pattern 'Guided' matched no files
- [NbConvertApp] WARNING | pattern 'Project' matched no files
- [NbConvertApp] WARNING | pattern 'Visualizing' matched no files
- [NbConvertApp] WARNING | pattern 'The' matched no files
- [NbConvertApp] WARNING | pattern 'Gender' matched no files
- [NbConvertApp] WARNING | pattern 'Gap' matched no files
- [NbConvertApp] WARNING | pattern 'In' matched no files
- [NbConvertApp] WARNING | pattern 'College' matched no files
- [NbConvertApp] WARNING | pattern 'Degrees.ipynb' matched no files
- This application is used to convert notebook files (*.ipynb) to various other
- formats.
- WARNING: THE COMMANDLINE INTERFACE MAY CHANGE IN FUTURE RELEASES.
- Options
- -------
- Arguments that take values are actually convenience aliases to full
- Configurables, whose aliases are listed on the help line. For more information
- on full configurables, see '--help-all'.
- --debug
- set log level to logging.DEBUG (maximize logging output)
- --generate-config
- generate default config file
- -y
- Answer yes to any questions instead of prompting.
- --execute
- Execute the notebook prior to export.
- --allow-errors
- 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.
- --stdin
- read a single notebook file from stdin. Write the resulting notebook with default basename 'notebook.*'
- --stdout
- Write notebook output to stdout instead of files.
- --inplace
- Run nbconvert in place, overwriting the existing notebook (only
- relevant when converting to notebook format)
- --log-level=<Enum> (Application.log_level)
- Default: 30
- Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
- Set the log level by value or name.
- --config=<Unicode> (JupyterApp.config_file)
- Default: ''
- Full path of a config file.
- --to=<Unicode> (NbConvertApp.export_format)
- Default: 'html'
- The export format to be used, either one of the built-in formats, or a
- dotted object name that represents the import path for an `Exporter` class
- --template=<Unicode> (TemplateExporter.template_file)
- Default: ''
- Name of the template file to use
- --writer=<DottedObjectName> (NbConvertApp.writer_class)
- Default: 'FilesWriter'
- Writer class used to write the results of the conversion
- --post=<DottedOrNone> (NbConvertApp.postprocessor_class)
- Default: ''
- PostProcessor class used to write the results of the conversion
- --output=<Unicode> (NbConvertApp.output_base)
- Default: ''
- overwrite base name use for output files. can only be used when converting
- one notebook at a time.
- --output-dir=<Unicode> (FilesWriter.build_directory)
- Default: ''
- Directory to write output to. Leave blank to output to the current
- directory
- --reveal-prefix=<Unicode> (SlidesExporter.reveal_url_prefix)
- Default: ''
- The URL prefix for reveal.js. This can be a a relative URL for a local copy
- of reveal.js, or point to a CDN.
- For speaker notes to work, a local reveal.js prefix must be used.
- --nbformat=<Enum> (NotebookExporter.nbformat_version)
- Default: 4
- Choices: [1, 2, 3, 4]
- The nbformat version to write. Use this to downgrade notebooks.
- To see all available configurables, use `--help-all`
- Examples
- --------
- The simplest way to use nbconvert is
- > jupyter nbconvert mynotebook.ipynb
- which will convert mynotebook.ipynb to the default format (probably HTML).
- You can specify the export format with `--to`.
- Options include ['custom', 'html', 'latex', 'markdown', 'notebook', 'pdf', 'python', 'rst', 'script', 'slides']
- > jupyter nbconvert --to latex mynotebook.ipynb
- Both HTML and LaTeX support multiple output templates. LaTeX includes
- 'base', 'article' and 'report'. HTML includes 'basic' and 'full'. You
- can specify the flavor of the format used.
- > jupyter nbconvert --to html --template basic mynotebook.ipynb
- You can also pipe the output to stdout, rather than a file
- > jupyter nbconvert mynotebook.ipynb --stdout
- PDF is generated via latex
- > jupyter nbconvert mynotebook.ipynb --to pdf
- You can get (and serve) a Reveal.js-powered slideshow
- > jupyter nbconvert myslides.ipynb --to slides --post serve
- Multiple notebooks can be given at the command line in a couple of
- different ways:
- > jupyter nbconvert notebook*.ipynb
- > jupyter nbconvert notebook1.ipynb notebook2.ipynb
- or you can specify the notebooks list in a config file, containing::
- c.NbConvertApp.notebooks = ["my_notebook.ipynb"]
- > jupyter nbconvert --config mycfg.py
- MacBook-Pro-di-irene:~ irenevolpe$ cd
- MacBook-Pro-di-irene:~ irenevolpe$ pwd
- /Users/irenevolpe
- MacBook-Pro-di-irene:~ irenevolpe$ cd ~/Desktop
- MacBook-Pro-di-irene:Desktop irenevolpe$ ls
- CSIL folder
- ESLII_print12.pdf food books
- Reference letter_ire.docx giallo_zafferano
- Reference letter_ire.pages hist_dq.png
- Schermata 2018-03-02 alle 23.30.05.png moley
- Senza titolo-1.indd moley_copia.docx
- Senza titolo-2.indd nutrients-10-00096.pdf
- Statement of Accomplishment.pdf pdf_certif_-2409257857912645062.jpg
- Untitled.ipynb pdf_certif_-2409257857912645062.pdf
- bars_dq.png pgb-informatics-2018.pdf
- bars_mine.png pgb-mathematics-2018.pdf
- ciao python
- cv schermate
- datacamp spesa oggi.pages
- dataquest statistics_with_data_science.docx
- fattura_ticketone.pdf
- MacBook-Pro-di-irene:Desktop irenevolpe$ cd dataquest/
- MacBook-Pro-di-irene:dataquest irenevolpe$ ls
- 10_Learning R 5_Probability and Statistics
- 11_Capstone Projects 6_Machine Learning
- 1_Python Introduction 7_Advanced Python and Computer Science
- 2_Data Analysis and Visualization 8_Advanced Topics in Data Science
- 3_The Command Line 9_Working With Large Datasets
- 4_Working with Data Sources birth.txt
- MacBook-Pro-di-irene:dataquest irenevolpe$ cd 1_Python\ Introduction/
- MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ ls
- 1_python_basics 2_Python_Intermediate
- MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ 2_Python_Intermediate/
- -bash: 2_Python_Intermediate/: is a directory
- MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ ls
- 1_python_basics 2_Python_Intermediate
- MacBook-Pro-di-irene:1_Python Introduction irenevolpe$ cd 2_Python_Intermediate/
- MacBook-Pro-di-irene:2_Python_Intermediate irenevolpe$ ls
- Guided Project Visualizing Earnings Based On College Majors.ipynb
- Guided Project Visualizing The Gender Gap In College Degrees.ipynb
- Guided Project_Exploring Gun Deaths in the US.ipynb
- List Comprehensions.ipynb
- UNRATE.csv
- Untitled.ipynb
- Untitled1.ipynb
- Untitled2.ipynb
- Untitled3.ipynb
- Untitled4.ipynb
- all-ages.ipynb
- all-ages.txt
- census.csv
- classes.ipynb
- data cleaning
- error__handling.ipynb
- fandango-Copy1.ipynb
- fandango.ipynb
- guns.txt
- intro to pandas - food.ipynb
- list_comprehension_summarize.ipynb
- modules.ipynb
- nfl_suspensions.ipynb
- nfl_suspensions_data
- recent-grads.txt
- regex.ipynb
- schools
- thankgiving.ipynb
- thanksgiving.txt
- titanic.ipynb
- titanic_seaborn.ipynb
- titanic_seaborn_prove.ipynb
- unrate.ipynb
- women_degrees.ipynb
- MacBook-Pro-di-irene:2_Python_Intermediate irenevolpe$ vim women_degrees.ipynb
- {
- "cells": [
- {
- "cell_type": "code",
- "execution_count": 1,
- "metadata": {
- "collapsed": false
- },
- "outputs": [
- {
- "data": {
- "text/html": [
- "<div>\n",
- "<table border=\"1\" class=\"dataframe\">\n",
- " <thead>\n",
- " <tr style=\"text-align: right;\">\n",
- " <th></th>\n",
- " <th>Year</th>\n",
- " <th>Agriculture</th>\n",
- " <th>Architecture</th>\n",
- " <th>Art and Performance</th>\n",
- " <th>Biology</th>\n",
- " <th>Business</th>\n",
Add Comment
Please, Sign In to add comment