Tag: Python


極簡說明Multi-thread/Multi-process、CPU-bound/IO-bound和GIL

Posted on November 26, 2022 in CS. View: 3,821

Python GIL 究竟怎麼影響我們應該採用Multi-thread或Multi-process? Multi-thread和Multi-process又是什麼?什麼是CPU-bound和IO-bound呢?


Continue reading

物件導向武功秘笈(2):招式篇 — Python與Java的物件導向編程介紹

Posted on April 10, 2018 in CS. View: 13,549

物件導向編程 / 類別(Class)與物件(Object) / 方法多載(Method Overloading) / 物件導向三大特性—封裝(Encapsulation) / 物件導向三大特性—繼承(Inheritance) / 抽象化:抽象類別(Abstract Class)、抽象方法(Abstract Method)和接口(Interface) / 物件導向三大特性—多型(Polymorphism) /


Continue reading

Python玩數據 (3):Numpy [2/2]

Posted on May 06, 2017 in CS. View: 4,804

產生ndarray的其他方法 / Broadcasting / Slice and Fancy Indexing /


Continue reading

Python玩數據 (2):Numpy [1/2]

Posted on April 17, 2017 in CS. View: 13,576

Python常見的資料型別 / Numpy的數學運算 / Numpy基礎元素:ndarray / Numpy的矩陣運算


Continue reading

Python玩數據 (1):安裝Python, IPython, Numpy, Pandas

Posted on March 20, 2017 in CS. View: 5,469

安裝Python, IPython, Numpy, Pandas


Continue reading