Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 355ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
h

html-embed

Recently created Least recently created Recently updated Least recently updated

timmy / 📊 Streamlit + Tabulator:打造互動式資料表格超簡單

Last active 5 hours ago dataframe html-embed interactive-table python streamlit tabulator web-app

用 Streamlit + Tabulator.js 展示 DataFrame,支援欄位過濾、分頁、編輯,前端美觀又實用 🚀

0 0 0 1
1 import streamlit as st
2 import pandas as pd
3 import json
4 import streamlit.components.v1 as components
5
6 # 假設有一個 DataFrame
7 df = pd.DataFrame({
8 "訂單單別": ["A", "B", "C"],
9 "訂單單號": [101, 102, 103],
10 "客戶簡稱": ["客戶1", "客戶2", "客戶3"],