Exampler.org SAS PYTHON HTML
PYTHON Analysis Intro
PYTHON Data Exploration

Python Analysis Introduction;

What am I looking at?

The Process:

  • Problem Classification
  • Importing
  • Exploring
  • Cleaning
  • Transforming
  • Training
  • Testing
  • Accuracy

Importing Data:

from google.colab import files

data = files.upload()

Import pandas as pd

data = pd.read_csv("path/to/your/file.csv")

Import csv

with open('file.csv', 'r') as f:
     data = list(csv.reader(f, delimiter=','))


What's happening in the script above?

  • Google Colab is used as the Python interpreter, as it simplifies sharing and collaboration
  • The google.colab library allows you to import data using the upload function.
  • Once that is executed, it will render an "Upload Button" which allows the end user to upload the cvs or excel file.


Connect via LinkedIn

Kevin Regan

Have an article, idea, found a typo, want to contribute? Shoot me an email Here


Below are links to some Udemy Data Science Courses. I've been using Udemy for a number of years now, and I've found their courses super helpful, maybe you will also.