Skip to content

Blog

[Python] 如何取代 Pandas DataFrame 中特定 column 內的值

在做資料處理的過程中,經常會有需要將特定 column 的值做替換的步驟。可能是處理 missing value、可能是將錯誤的數值刪除...... 當然,Python 有眾多的工具、套件、函式可以來進行常見的取代任務。不過,總難免會有需要特殊處理的情況。

Read More »[Python] 如何取代 Pandas DataFrame 中特定 column 內的值

[已解決] NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

問題描述

最近當我重新配置工作用環境的 Nvidia GPU 驅動程式時,當我安裝過後重新開機,我卻無法透過 nvidia-smi 指令去取得 GPU 的資訊。唯一得到的訊息是:

Read More »[已解決] NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.