Skip to content

Instantly share code, notes, and snippets.

@GuokaiLiu
Last active October 21, 2020 02:58
Show Gist options
  • Save GuokaiLiu/b940d9afce6023f0d04a5140bdffff6d to your computer and use it in GitHub Desktop.
Save GuokaiLiu/b940d9afce6023f0d04a5140bdffff6d to your computer and use it in GitHub Desktop.
[矩阵转数组] #numpy
https://stackoverflow.com/questions/3337301/numpy-matrix-to-array
b = a.A # raw dimension
c = a.A1 # 1D dimension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment