python:numpy_scipy_matplotlib

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:numpy_scipy_matplotlib [2019/08/07 20:24] – [使い方] ともやんpython:numpy_scipy_matplotlib [2020/04/16 03:38] (現在) ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html> +<html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script+  <style
-<script> +    #result pre 
-     (adsbygoogle = window.adsbygoogle || []).push(+      height200px; 
-          google_ad_client"ca-pub-0791334967460971", +      overflow: scroll; 
-          enable_page_level_adstrue +      overflow-x: hidden; 
-     })+    } 
-</script></html></ifauth>+    #logo_numpy { 
 +      background-color: #a2bae8; 
 +      widthfit-content; 
 +      padding: 10px; 
 +    } 
 +    #logo_numpy p { 
 +      margin: 0
 +    } 
 +  </style> 
 +</html>
 ====== NumPy, SciPy, Matplotlib, CuPy, Pandas のインストール ====== ====== NumPy, SciPy, Matplotlib, CuPy, Pandas のインストール ======
  
-===== NumPy, SciPy, Matplotlib, CuPy のインストール =====+====== NumPy, SciPy, Matplotlib, CuPy のインストール ======
  
-==== Linux ====+===== Linux =====
 <code> <code>
 $ pip3 install numpy scipy matplotlib cupy $ pip3 install numpy scipy matplotlib cupy
 </code> </code>
  
-==== Windows ====+===== Windows =====
 <code> <code>
 > pip install numpy scipy matplotlib cupy > pip install numpy scipy matplotlib cupy
行 22: 行 31:
 ※CuPy をインストールするには [[windows:visualstudio|Visual Studio 2019]] と [[windows:windows10_install_cuda|CUDA Tootkit]] のインストールが必要である。\\ ※CuPy をインストールするには [[windows:visualstudio|Visual Studio 2019]] と [[windows:windows10_install_cuda|CUDA Tootkit]] のインストールが必要である。\\
  
-==== NumPy ==== +====== NumPy ====== 
-{{:python:numpy_logo.svg?200|NumPy Logo}}\\+<WRAP #logo_numpy> 
 +{{:python:numpy_logo.svg?200|NumPy Logo}} 
 +</WRAP>
 本家: [[https://numpy.org/|NumPy — NumPy]]\\ 本家: [[https://numpy.org/|NumPy — NumPy]]\\
 ソースコード: [[https://github.com/numpy/numpy|GitHub - numpy/numpy: The fundamental package for scientific computing with Python.]]\\ ソースコード: [[https://github.com/numpy/numpy|GitHub - numpy/numpy: The fundamental package for scientific computing with Python.]]\\
行 34: 行 45:
 [[https://ja.wikipedia.org/wiki/NumPy|NumPy - Wikipedia]] より\\ [[https://ja.wikipedia.org/wiki/NumPy|NumPy - Wikipedia]] より\\
  
-==== SciPy ====+====== SciPy ======
 [[https://www.scipy.org/|SciPy.org — SciPy.org]]\\ [[https://www.scipy.org/|SciPy.org — SciPy.org]]\\
 \\ \\
行 40: 行 51:
 [[https://ja.wikipedia.org/wiki/SciPy|SciPy - Wikipedia]] より\\ [[https://ja.wikipedia.org/wiki/SciPy|SciPy - Wikipedia]] より\\
  
-==== Matplotlib ====+====== Matplotlib ======
 [[https://matplotlib.org/|Matplotlib: Python plotting — Matplotlib 3.1.1 documentation]]\\ [[https://matplotlib.org/|Matplotlib: Python plotting — Matplotlib 3.1.1 documentation]]\\
 \\ \\
行 46: 行 57:
 [[https://ja.wikipedia.org/wiki/Matplotlib|matplotlib - Wikipedia]] より\\ [[https://ja.wikipedia.org/wiki/Matplotlib|matplotlib - Wikipedia]] より\\
  
-==== CuPy ====+====== CuPy ======
 {{:python:cupy_logo.png?200|CuPy Logo}}\\ {{:python:cupy_logo.png?200|CuPy Logo}}\\
 本家: [[https://cupy.chainer.org/|CuPy]]\\ 本家: [[https://cupy.chainer.org/|CuPy]]\\
行 58: 行 69:
 [[https://docs-cupy.chainer.org/en/stable/overview.html|Overview — CuPy 6.2.0 documentation]] より\\ [[https://docs-cupy.chainer.org/en/stable/overview.html|Overview — CuPy 6.2.0 documentation]] より\\
  
-===== Pandas のインストール =====+====== Pandas のインストール ======
 本家: [[https://pandas.pydata.org/|Python Data Analysis Library — pandas: Python Data Analysis Library]]\\ 本家: [[https://pandas.pydata.org/|Python Data Analysis Library — pandas: Python Data Analysis Library]]\\
 \\ \\
 **Pandas** は、プログラミング言語 Python において、データ解析を支援する機能を提供するライブラリである。特に、数表および時系列データを操作するためのデータ構造と演算を提供する。Pandas は BSD ライセンスのもとで提供されている。\\ **Pandas** は、プログラミング言語 Python において、データ解析を支援する機能を提供するライブラリである。特に、数表および時系列データを操作するためのデータ構造と演算を提供する。Pandas は BSD ライセンスのもとで提供されている。\\
  
-==== Linux ====+===== Linux =====
 <code> <code>
 $ pip3 install pandas $ pip3 install pandas
 </code> </code>
  
-==== Windows ====+===== Windows =====
 <code> <code>
 > pip install pandas > pip install pandas
 </code> </code>
-<WRAP prewrap 100%>+<WRAP prewrap 100% #result>
 <code> <code>
 Collecting pandas Collecting pandas
行 88: 行 99:
 </WRAP> </WRAP>
  
-==== 使い方 ====+===== 使い方 =====
  
-=== 行によって列数の異なる CSV を DataFrame 化する方法 ===+==== 行によって列数の異なる CSV を DataFrame 化する方法 ===
 +<file csv data.csv> 
 +col1 col2 col3 col4 col5 
 +1 2 3 4 
 +1 2 3 
 +1 2 3 4 5 
 +</file>
 <code python> <code python>
 In [1]: import csv In [1]: import csv
行 124: 行 141:
 </code> </code>
  
-=== データフレームのグループ化(集計) ===+==== データフレームのグループ化(集計) ====
 <WRAP prewrap 100%> <WRAP prewrap 100%>
 <code python> <code python>
  • python/numpy_scipy_matplotlib.1565177082.txt.gz
  • 最終更新: 2019/08/07 20:24
  • by ともやん