class_docstr: Columns make up Plotly Grids and can be the source of
  data for Plotly Graphs.
  They have a name and an array of data.
  They can be uploaded to Plotly with the `plotly.plotly.grid_ops`
  class.
  
  Usage example 1: Upload a set of columns as a grid to Plotly
  ```
  from plotly.grid_objs import Grid, Column
  import plotly.plotly as py
  column_1 = Column([1, 2, 3], 'time')
  column_2 = Column([4, 2, 5], 'voltage')
  grid = Grid([column_1, column_2])
  py.grid_ops.upload(grid, 'time vs voltage')
  ```
  
  Usage example 2: Make a graph based with data that is sourced
                   from a newly uploaded Plotly columns
  ```
  import plotly.plotly as py
  from plotly.grid_objs import Grid, Column
  from plotly.graph_objs import Scatter
  # Upload a grid
  column_1 = Column([1, 2, 3], 'time')
  column_2 = Column([4, 2, 5], 'voltage')
  grid = Grid([column_1, column_2])
  py.grid_ops.upload(grid, 'time vs voltage')
  
  # Build a Plotly graph object sourced from the
  # grid's columns
  trace = Scatter(xsrc=grid[0], ysrc=grid[1])
  py.plot([trace], filename='graph from grid')
  ```
class_docstr_tok: ["Columns","make","up","Plotly","Grids","and","can","be","the","source","of","data","for","Plotly","Graphs",".","They","have","a","name","and","an","array","of","data",".","They","can","be","uploaded","to","Plotly","with","the","`","plotly.plotly.grid_ops","`","class",".","Usage","example","1",":","Upload","a","set","of","columns","as","a","grid","to","Plotly","``","`","from","plotly.grid_objs","import","Grid",",","Column","import","plotly.plotly","as","py","column_1","=","Column","(","[","1",",","2",",","3","]",",","'time","'",")","column_2","=","Column","(","[","4",",","2",",","5","]",",","'voltage","'",")","grid","=","Grid","(","[","column_1",",","column_2","]",")","py.grid_ops.upload","(","grid",",","'time","vs","voltage","'",")","``","`","Usage","example","2",":","Make","a","graph","based","with","data","that","is","sourced","from","a","newly","uploaded","Plotly","columns","``","`","import","plotly.plotly","as","py","from","plotly.grid_objs","import","Grid",",","Column","from","plotly.graph_objs","import","Scatter","#","Upload","a","grid","column_1","=","Column","(","[","1",",","2",",","3","]",",","'time","'",")","column_2","=","Column","(","[","4",",","2",",","5","]",",","'voltage","'",")","grid","=","Grid","(","[","column_1",",","column_2","]",")","py.grid_ops.upload","(","grid",",","'time","vs","voltage","'",")","#","Build","a","Plotly","graph","object","sourced","from","the","#","grid","'s","columns","trace","=","Scatter","(","xsrc=grid","[","0","]",",","ysrc=grid","[","1","]",")","py.plot","(","[","trace","]",",","filename='graph","from","grid","'",")","``","`"]
code: def to_plotly_json(self):
      return {"name": self.name, "data": self.data}
  
imports: from __future__ import absolute_import
  import _plotly_utils.exceptions
  import json
  from _plotly_utils.optional_imports import get_module
  from chart_studio import utils, exceptions
label_desc: Use image node_id 4 for calling the Column obj's underlying member method code with example usage: obj.to_plotly_json() and returns: dict