Pinned Loading
-
Proj_euler solutions, problem 1
Proj_euler solutions, problem 1 1#Import numpy
2import numpy as np
3#
4# Build the list (note that the problem states "below" 1000,
5# so we can safely use 1000 rather than 1001 in range)
-
proj_euler3
proj_euler3 1# Our number to factor
2number = 600851475143
34# Our pretty cool trick limiting the number of things we need to test:
5# (int(number**(0.5)) is the closest truncated integer to square root of
-
ProjEuler2
ProjEuler2 1# Initialize dummy variable at zero for our sum
2even_sum = 0
34# We'll only keep track of the last two fibonacci numbers, from the problem, the first two are:
5current_fibonacci = 2
-
-
Pivot-Tables-With-NYC-Bikes
Pivot-Tables-With-NYC-Bikes PublicCode for Pivot Table post using NYC bike data
Jupyter Notebook
-
scratch_regression.py
scratch_regression.py 1import numpy as np
23class LinRegScratch():
4def __init__(self):
5pass
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.