Python For Data Science Cheat Sheet NumPy Basics Learn Python for Data Science Interactively at www.DataCamp.com NumPy DataCamp Learn Python for Data Science Interactively The NumPy library is the core library for scienti c computing in Python. It provides a high-performance multidimensional array object, and tools for working with these arrays. See the Anaconda Enterprise Notebooks cheat sheet PDF (232 KB) for a single-page summary of the most important information about using AEN.
Sometimes you need other packages when scripting in Blender. Blender already includes Numpy in its newer versions out of the box which is quite handy. However I often have the need to install new packages to use for my own scripts and add-ons. There is also a way to use an already installed version of Anaconda which I’ll show in this post. It worked for me for Blender 2.77 and 2.79 on Windows.
Anaconda is a package manager and Python distribution which simplifies installing new packages for Python and has many useful packages pre-installed, which is especially useful when working with Windows where some packages are sometimes troublesome to install.
- First step is to install Anaconda and Blender. I use Anaconda3 x64 and Blender 2.79 x64.
- Then create a Python 3.5 environment with Anaconda by using the command
conda create -n py35 python=3.5 anaconda
. I compiled some tipps on virtual environments in Anaconda in this post. - Rename the folder of the Blender Python environment
C:Program FilesBlender FoundationBlender2.79python
to something different like_python
. - Finally you can either copy the contents of the folder
C:Anaconda3envspy3
toC:Program FilesBlender FoundationBlender2.79python
or alternatively you can use a link to the Anaconda folder. To create a link make sure to run the console as administrator and then create a hard link to a directory by running
After these steps try to import the packages included in the Anaconda packages (e.g. import pandas
, import scipy
) and the Blender packages (e.g. import bpy
, import bmesh
) inside the Python console in Blender or the text editor. If this works, you should be able to use every python module available through the Anaconda environment and also install new packages when needed.
Related Posts
List of Data Science Cheatsheets & Infographics (Python)
Collected by: Sheryl, Cell
Here are collections of big-data related cheatsheets and infographics from difference resources. Thanks for these providers and references. Here is Python part.
Python
Python is an interpreted, high-level, general-purpose programming language.Download Python
Anaconda
Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment.Download Anaconda
Python Workflow
Python Basics
Python Basics 2
Python Basics 3
Python Pandas Basics
Python Pandas
Python Importing Data
Python Jupyter
Python Numpy Basics 1
Python Numpy Basics 2
Python Pandas Basics 1
Python Pandas Basics 2
Python Pandas Basics 3
Python Data Wrangling 1
Python Scipy
Python Matplotlib
Python ggplot2
Python Intermediate
Python REGEX
Python Memento 1
Python Memento 2
Pyspark
PySpark RDD Basics
Python Anaconda 1
Pyspark
Python Scitk-Learn
Python keras
Python keras 2
Extreme warfare revenge for mac.
Python Data Visualization Matplotlib
Python Data Visualization Seaborn
Spyder Python Cheat Sheet
Python Data Visualization Bokeh 1
Python Data Visualization Bokeh 2
Enjoy our journey.
Cheat Sheet For Anaconda
If you have any suggestion or comments, or any question, please email me.