Observation Point

A glimpse at the edge


  • Home

  • Archives

  • Tags

  • Search

Intro to Pandas

Posted on 2018-04-01 | In Data engineering

Data pre-processing

  • Threshold values into 0/1
1
2
3
4
5
import pandas as pd

a = pd.Series([1,3,5,6,3,4,1,2,0,4])
b = Series(a>3).astype(int)
print(b)
# machine learning # data engineering
CUDA kick-start
Where to put const in C++
  • Table of Contents
  • Overview
Eric Wan

Eric Wan

A glimpse at the edge

12 posts
5 categories
14 tags
RSS
GitHub LinkedIn
  1. 1 Data pre-processing
© 2018 - 2026 Eric Wan
Powered by Jekyll
Theme - NexT.Pisces