Try   HackMD

D02 NumPy 陣列進階操作

  • flatten() 與 ravel() 將多維陣列 轉為 一維陣列
  • ravel() 建立的是原來陣列的 view,所以在 ravel() 回傳物件中做的元素值變更,將會影響原陣列的元素值
  • 展開的順序是 C-style

c-style v.s fortran-style

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →