programming python for dummies code example
Example 1: python for dummies
A good book I guess, but kinda outdated now.
Example 2: get_dummies python
>>> pd.get_dummies(s)
a b c
0 1 0 0
1 0 1 0
2 0 0 1
3 1 0 0
A good book I guess, but kinda outdated now.
>>> pd.get_dummies(s)
a b c
0 1 0 0
1 0 1 0
2 0 0 1
3 1 0 0