發表文章

目前顯示的是有「colab」標籤的文章

[第9期]How to edit C++/C code in Colab如何在Colab中編寫C++/C的程式碼

圖片
這個影片說明如何在Colab中編寫C++/C的程式語言 內容 1. 魔術指令 2. 在Colab編輯C++/C程式 This video shows how to edit C++/C code in Colab. Content 1. Magics command 2. Edit C++/C code in Colab

[Colab][Python]define function定義函數

圖片
  This video shows 5 kinds of examples for definition of function. 這個影片展示5種定義函數的範例。 1.Define function (no parameter)定義函數(無參數) 2.Define function (parameters)定義函數(參數) 3.Define function (parameters) with Return (single value) 定義函數(參數) 回傳值 4.Define function (parameters) with Return (multiple value) 定義函數(參數) 回傳多個值 5.Define function (*parameter: multiple parameters) with Return (single value) 定義函數(*參數: 多參數) 回傳值

[Python] Update and delete data with SQLite in Colab/在Colab中更新與刪除SQLite資料庫

圖片
  This example shows how to use python to comunicate with SQLite in Colab. 這個範例說明如何在Colab中使用python來與SQLite溝通。 7. Update data in table 更新資料表中的資料 8. Delete data in table 從資料表中刪除資料 Previous video: 先前影片 https://www.youtube.com/watch?v=mRuwI-ve5To

[Python][Colab][SQlite] Wite and read data with SQLite in Colab在Colab中讀寫SQLite資料庫

圖片
This example shows how to use python to comunicate with SQLite in Colab. 這個範例說明如何在Colab中使用python來與SQLite溝通。   1. Mount Google drive for Colab use 在Colab中掛載Google硬碟 2. Ceate database in Google drive 在Google硬碟建立資料庫 3. Create Table and add header 建立表單與加入表頭 4. Insert the single row data to table 加入單列資料到表單中 5. Read data from the table 從表單中讀取資料 6. Insert the muliti rows of data to table 加入多列資料到表單中

[Colab][python]Install and use yfinance in Colab/在Colab上安裝與使用yfinance函式庫

圖片
 This video shares how to install and use yfinance in Colab 本影片分享如何在Colab上安裝與使用yfinance函式庫 1. Install yfinance library 安裝yfinance函式庫 2. Get single item or all items from stock information 獲取單一或全部的股票資訊項目 3. Get historical data of stocks (5days) 獲取股票的歷史資料  (5天) 4.  Download  historical data as .csv from google to location 將google上的歷史資料下載到在地端存成.csv檔 5. Download  historical data with start, end time and interval 使用開始、結束時間與間隔來下載歷史資料