Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am g1039 on github.
  • I am ntu2ko (https://keybase.io/ntu2ko) on keybase.
  • I have a public key ASBU9m41FISvR8MtVL25b3Rj_TXozxVoDtsYYoUf6NvHhgo

To claim this, I am signing this object:

@g1039
g1039 / Learning Pandas
Last active March 12, 2018 11:33
Exercise 3
import pandas as pd
import numpy as np
# Create empty dataframe 1
df = pd.DataFrame()
# Create a columns
names = ['Trevor', 'George'] * 18
counter1 = []
@g1039
g1039 / Exercise 2
Last active February 14, 2018 12:34
Learning Pandas
import pandas as pd
# Create empty dataframe
df = pd.DataFrame()
d = pd.date_range('2/1/2016', periods=5)
counter = []
for x, y in enumerate(d, 1):
counter.append(x)
@g1039
g1039 / Exercise 1
Last active February 12, 2018 07:57
Learning Pandas
import pandas as pd
# Create empty dataframe
df = pd.DataFrame()
# Create a columns
a = ['A1', 'A2']
b = ['B1', 'B2']
c = ['C1', 'C2']