Tableau如何建立兩個集合,篩選交集的資料? by 儲蓄保險王 · 2023-07-27 Tableau介面: 檔案 => 更多: 基礎用法 銷售額點兩下,類別點兩下: 點擊類別左方的展開(+)圖示 可以生出子類別 欄列互換(Ctrl+W): 直條圖變成橫條圖: 利潤率拖到色彩: 建立兩個集合後,篩選交集 客戶名稱=>右鍵=>建立=>集合 利潤小於0的集合: 銷售額頂端20的集合: 兩個集合拉到篩選條件 客戶名稱拉到 列 相關文章Python:如何建立新資料夾?os.mkdir() ; os.makedirs() ; 有何差別?Python: 網路爬蟲 selenium 開啟chrome瀏覽器自動連線; chrome = webdriver.Chrome (service=service, options=options) ; 以下錯誤如何解決? SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 113 Current browser version is 118.0.5993.118 with binary path C:\Program Files\Google\Chrome\Application\chrome.exePython: 如何使用functools.reduce逐步縮減可迭代對象,合併為單個結果? import functools; product = functools.reduce( lambda x, y: x * y, numbers) ; reduce(function, sequence [, initial]) -> value ; map(function, iterable) ; filter(function, iterable) ; map ; filterPython: 如何用pandas.read_csv() 讀取逗點分隔檔並忽略空列,跳過某些列? dfRaw = pd.read_csv (fpath, skip_blank_lines = True, skiprows =6)Python: matplotlib如何繪製圓餅圖? plt.pie(data, labels=labels, explode=explode, autopct=lambda p: f"{p: .0f}% ({p*sum(data)/100: .0f})") ; lambda匿名函数 ; 前綴 f "{變數or運算式: .0f}" 格式化字串Python: matplotlib繪製出的圖表如何插入背景圖? img = plt.imread('background_image.png') ; ax.imshow(img, extent=[0, 10, -1.2, 1.2], aspect='auto', alpha=0.5)Python: 如何使用巢狀字典(dict)生成pandas.DataFrame?Python: 如何獲取當前的工作目錄? os.getcwd() ; os.path.dirname( os.path.abspath( __file__ ))ADB(Android Debug Bridge)和Appium (Python套件)
近期留言