Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Analysis in Python

Setting up your compture

Mac

  • Download and install VS Code
  • Install VS Code Python Extension
  • open terminal and navigate to the folder
  • python3 --version Python 3
  • creates my env python3 -m venv myenv
  • activate my env source myenv/bin/activate
  • pip3 --version
  • pip3 install pandas
  • pip3 install numpy
  • pip3 install matplotlib

Testing

  • Open terminal and navigate to setup folder
  • activate my env source myenv/bin/activate
  • run python3 test1.py to test that matplotlib and numpy works correctly. As a result you should see the chart.
  • Image
  • run python3 test2.py to test pandas and reading from file. As a result you should see this table in your terminal.
  • Image

Windows

  • Download and install VS Code. You can find it in Microsoft Store or download if from the internet https://code.visualstudio.com/download
  • Image
  • Install VS Code Python Extension
  • Image
  • Download project from github https://github.com/funcodingworkshop/data-analysis-in-python-workshop.git and extract it
  • Image
  • Open project/folder in VS Code.
  • Image
  • Open terminal in VS Code. Terminal -> New Terminal
  • python --version Python 3
  • pip --version
  • Image
  • create my env python -m venv myenv
  • Run this script .\myenv\Scripts\Activate.ps1 and restart VS Code
  • pip install pandas
  • pip install numpy
  • pip install matplotlib
  • Image

Testing

  • run python test1.py to test that matplotlib and numpy works correctly. As a result you should see the chart.
  • Image
  • run python3 test2.py to test pandas and reading from file. As a result you should see this table in your terminal.
  • Image

Additional information

Alternativly you can use requirements files from the root folder to install dependencies

pip3 install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages