<commit_before># datalab

Google Datalab Library. Used in [Google Cloud Datalab]
(https://github.com/GoogleCloudPlatform/datalab) and can be used
in [Jupyter Notebook]http://jupyter.org/).

This adds a number of Python modules such as datalab.bigquery, 
datalab.storage, etc, for accessing [Google Cloud Platform services]
(https://cloud.google.com/) as well as adding some new cell magics such as `%chart`,
`%bigquery`, `%storage`, etc.

See [https://github.com/googledatalab/notebooks](https://github.com/googledatalab/notebooks) 
for samples of using this package.

## Installation

    python setup.py install
    jupyter nbextension install --py datalab.notebook --sys-prefix

The `--sys-prefix` should be omitted if not in a virtualenv.

## Using in Jupyter

In a notebook cell, enable with:

    %load_ext datalab.kernel

Alternatively add this to your `ipython_config.py` file in your profile:

    c = get_config()
    c.InteractiveShellApp.extensions = [
        'datalab.kernel'
    ]
<commit_msg>Fix typo.<commit_after># datalab

Google Datalab Library. Used in [Google Cloud Datalab]
(https://github.com/GoogleCloudPlatform/datalab) and can be used
in [Jupyter Notebook](http://jupyter.org/).

This adds a number of Python modules such as datalab.bigquery, 
datalab.storage, etc, for accessing [Google Cloud Platform services]
(https://cloud.google.com/) as well as adding some new cell magics such as `%chart`,
`%bigquery`, `%storage`, etc.

See [https://github.com/googledatalab/notebooks](https://github.com/googledatalab/notebooks) 
for samples of using this package.

## Installation

    python setup.py install
    jupyter nbextension install --py datalab.notebook --sys-prefix

The `--sys-prefix` should be omitted if not in a virtualenv.

## Using in Jupyter

In a notebook cell, enable with:

    %load_ext datalab.kernel

Alternatively add this to your `ipython_config.py` file in your profile:

    c = get_config()
    c.InteractiveShellApp.extensions = [
        'datalab.kernel'
    ]

{'fraction_non_alphanumeric': 0.10531544957774466, 'fraction_numerical': 0.0, 'mean_word_length': 3.9728395061728397, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6451468', 'n_tokens_mistral': 667, 'n_tokens_neox': 646, 'n_words': 209}