Skip to content

Instantly share code, notes, and snippets.

@flamingbear
Created May 2, 2015 21:04
Show Gist options
  • Save flamingbear/b74b22359497238f6de5 to your computer and use it in GitHub Desktop.
Save flamingbear/b74b22359497238f6de5 to your computer and use it in GitHub Desktop.
[E 15:04:08.374 NotebookApp] Notebook JSON is invalid: Additional properties are not allowed (u'html' was unexpected)
Failed validating u'additionalProperties' in schema:
{u'additionalProperties': False,
u'description': u'Result of executing a code cell.',
u'properties': {u'data': {u'$ref': u'#/definitions/misc/mimebundle'},
u'execution_count': {u'description': u"A result's prompt number.",
u'minimum': 0,
u'type': [u'integer', u'null']},
u'metadata': {u'$ref': u'#/definitions/misc/output_metadata'},
u'output_type': {u'description': u'Type of cell output.',
u'enum': [u'execute_result']}},
u'required': [u'output_type',
u'data',
u'metadata',
u'execution_count'],
u'type': u'object'}
On instance:
{u'data': {u'text/plain': [u' one two\na 1 1\nb 2 2\nc 3 3\nd NaN 4']},
u'execution_count': 3,
u'html': u'<div style="max-height:1000px;max-width:1500px;overflow:auto;">\n<table border="1" class="dataframe">\n <thead>\n <tr style="text-align: right;">\n <th></th>\n <th>one</th>\n <th>two</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>a</th>\n <td>1</td>\n <td>1</td>\n </tr>\n <tr>\n <th>b</th>\n <td>2</td>\n <td>2</td>\n </tr>\n <tr>\n <th>c</th>\n <td>3</td>\n <td>3</td>\n </tr>\n <tr>\n <th>d</th>\n <td>NaN</td>\n <td>4</td>\n </tr>\n </tbody>\n</table>\n</div>',
u'metadata': {},
u'output_type': u'execute_result'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment