This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Skin Tone Slider</title> | |
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<style> | |
:root { | |
--skin-tone:#DB8E72; /* default skin tone color */ | |
} | |
html { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
def df_to_html(df: pd.DataFrame, | |
image_cols: List[str] = [], | |
hyperlink_cols: List[str] = [], | |
html_tags: Dict[str, Union[str, List[str]]] = dict(), | |
transpose: bool = False, | |
image_width: Optional[int] = None, | |
max_num_rows: int = 200, |