Skip to content

Instantly share code, notes, and snippets.

View vinaykudari's full-sized avatar
💭
lets talk code

Vinay vinaykudari

💭
lets talk code
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / coin_stimulation.py
Created July 29, 2018 15:49
coin_stimulation
def generate_counts(coin_flips=1000, n=1000):
x = 2*(np.random.random((coin_flips, n)) > 0.5) - 1 #generates a 1000x1000 matrix, 1 for heads -1 for tails
s = x.sum(axis=0) #summing row wise, 1000 coin flips for 1000 times together
return s
a = set({3,1,2,3})
print(type(a))
>> <class 'set'>
print(a) #Order and Repetition dosent matter in sets
>> {1, 2, 3}
@vinaykudari
vinaykudari / venn.ipynb
Last active August 6, 2018 15:54
Venn Diagram
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / groupby.ipynb
Last active August 7, 2018 20:20
Group By
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / groupby_func.ipynb
Created August 7, 2018 20:02
Group By Functions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / table.ipynb
Last active December 21, 2022 03:45
Viewing Table Details
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / query.ipynb
Last active August 22, 2018 18:11
Basic Query
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinaykudari
vinaykudari / case.ipynb
Last active November 4, 2019 08:33
Case and Cast
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.