Hi,
I am a beginner on Plot.ly and I am trying to show a pandas dataframe on a plotly table.
I use the next python code:
# Cogemos los campos que queremos mostrar en la tabla
df_Lista_Campos = settings.df_Ejecucion_Estrategia.ix[:,['Fecha', 'Hora', 'Ticker_Suby', 'Tipo_Activo', 'Estrategia',
'Desc_Estrat','Id_Campana', 'Item','Sentido', 'Funcion', 'Cantidad', 'Precio',
'Comision', 'Precio_Neto']]
table = ff.create_table(df_Lista_Campos, colorscale=colorscale, font_colors=font, height_constant=20) #height_constant=altura de las filas
table['layout'].update(height=1000,width=1600)
py.plot(table, filename='df_Posiciones_Ejec_Estrategia')
So, I get this:
I would need to resize the widht for every column. Too I would need the same height for all rows whith independence of the total number of rows which I send to the plotly table.
Thanks.
Angel