2 Star 0 Fork 0

enthought/Numpy-Tutorial-SciPyConf-2021

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

SciPy 2021 Tutorial: Introduction to Numerical Computing With NumPy

Presented by: Logan Thomas, Enthought, Inc.

YouTube recording of live tutorial here

This repository contains all the material needed by students registered for the Numpy tutorial of SciPy 2021 on Monday, July 12th 2021.

For a smooth experience, you will need to make sure that you install or update your Python distribution and download the tutorial material before the day of the tutorial.

Running the Exercises the (recommended) Easy Way

Run with Binder by clicking this icon: Binder

Running the Exercise Locally

Install Python

If you don't already have a working python distribution, you may download Anaconda Python (https://www.anaconda.com/products/individual).

Install Packages

To be able to run the examples, demos and exercises, you must have the following packages installed:

  • ipython 7.16+ (for running, experimenting and doing exercises)
  • jupyter 1.0+
  • matplotlib 3.3+
  • numpy 1.17+
  • pillow 7.2+
  • pyqt 5.9+

If you are using Anaconda, you can use the Anaconda Prompt (Windows) or Terminal.app (macOS) to create an environment with the necessary packages:

  1. Open the Anaconda Prompt or Terminal.app using the below instructions:

    • Windows: Click Start and search for "Anaconda Prompt". Click on the application to launch a new Anaconda Prompt window.
    • macOS: Open Spotlight Search (using Cmd+Space) and type "Terminal.app". Click on the application to launch a new Terminal.app window.
  2. Create a new Anaconda virtual environment by executing the below command in the application window you opened in step 1 above.

    $ conda create -n numpy-tutorial ipython jupyter matplotlib numpy pillow pyqt 
    
  3. To test your installation, please execute the check_env.py script in the environment where you have installed the requirements. If you created an Anaconda environment using the instructions above, keep the application window that you opened in step 1 active (or launch the platform specific application again -- Anaconda Prompt for Windows or Terminal.app for macOS), navigate to where you have this GitHub repository, and type:

    $ conda activate numpy-tutorial
    $ python check_env.py
    

You should see a window pop up with a plot that looks vaguely like a smiley face.

Download Tutorial Materials

This GitHub repository is all that is needed in terms of tutorial content. The simplest solution is to download the material using this link:

https://github.com/enthought/Numpy-Tutorial-SciPyConf-2021/archive/main.zip

If you are familiar with Git, you can also clone this repository with:

$ git clone https://github.com/enthought/Numpy-Tutorial-SciPyConf-2021.git

It will create a new folder named Numpy-Tutorial-SciPyConf-2021/ with all the content you will need: the slides I will go through (slides.pdf), and a folder of exercises.

Questions? Problems?

You may post messages to the #tutorial-intro-to-numerical-computing-with-numpy Slack channel for this tutorial at in the official Slack team: https://scipy2021.slack.com .

空文件

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_enthought/Numpy-Tutorial-SciPyConf-2021.git
git@gitee.com:mirrors_enthought/Numpy-Tutorial-SciPyConf-2021.git
mirrors_enthought
Numpy-Tutorial-SciPyConf-2021
Numpy-Tutorial-SciPyConf-2021
main

搜索帮助