Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

1.9K
Vistas
Dataframe_image OsError: Chrome executable not able to be found on your machine

I am trying to run my script in Databricks using dataframe_image library to style my table and later save this as .png file and getting an error OsError: Chrome executable not able to be found on your machine. Per documentation I need to add table_conversion = 'matplotlib'

import pandas as pd
import numpy as np 
np.random.seed(0)

df = pd.DataFrame(np.random.randn(10,4), columns=['A','B','C','D'])
def highlight_max(s, props=''):
    return np.where(s == np.nanmax(s.values), props, '')
styled_table = df.style.apply(highlight_max, props='color:red;', axis=1)\
         .set_properties(**{'background-color': '#ffffb3'})

import dataframe_image as dfi # you might need to pip install dataframe-image

dfi.export(styled_table, 'file1.png', table_conversion = 'matplotlib')

As result all styles are lost.

Note: When I ran the same script in Jupyter using table_conversion = 'chrome' everything was working fine. I was wondering if there is a workaround. Any recommendations are welcome. Thanks.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

For a Debian based os:

apt install chromium-chromedriver

Solved it for me.

Chrome executable error #6

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda