Skip to content

Data API seems to not be working with strings #774

@charleyferrari

Description

@charleyferrari

I'm having issues getting py.grid_ops.upload to work with strings, it seems to only work with numbers.

This works for me:

grid = Grid([
        Column([1,2,3], 'one'),
        Column([4,5,6], 'two'),
        Column([7,8,9], 'three')
    ])

url = py.grid_ops.upload(grid, filename='test-201706140822', world_readable=False, auto_open=True)

## Run the above first, then run this

py.grid_ops.append_rows([[1,2,3]], grid = grid)

But when I try the exact same thing with Strings, it doesn't work for me:

grid = Grid([
        Column(['a','b','c'], 'one'),
        Column(['d','e','f'], 'two'),
        Column(['one', 'two', 'three'], 'three')
    ])

url = py.grid_ops.upload(grid, filename='test-201706140820', world_readable=False, auto_open=True)

## Run the above first, then run this

py.grid_ops.append_rows([['g','h','four']], grid = grid)

I'm using python 3.5.2 and plotly 2.0.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions