This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas_datareader import data | |
import statsmodels.api as sm | |
from pylab import rcParams | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
df = data.DataReader("RELIANCE.NS", | |
data_source = "yahoo", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas_datareader import data | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
df = data.DataReader("RELIANCE.NS", | |
data_source = "yahoo", | |
start = "2010-01-28", | |
end = "2020-12-28") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas_datareader import data | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
df = data.DataReader("RELIANCE.NS", | |
data_source = "yahoo", | |
start = "2010-01-28", | |
end = "2020-12-28") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import seaborn as sns | |
import matplotlib.pyplot as plt | |
from pandas_datareader import data | |
df = data.DataReader("RELIANCE.NS", | |
data_source = "yahoo", | |
start = "2010-04-28", | |
end = "2021-03-28") | |
plt.style.use("fivethirtyeight") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def checkFunc(k, input_nums): | |
for i in range(len(input_nums)): | |
for j in range(i+1,len(input_nums)): | |
if(input_nums[i] + input_nums[j] == k): | |
return True | |
return False | |
input_nums = list(map(int, input().split(" "))) | |
k = int(input()) | |
print(checkFunc(k, input_nums)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from pandas_datareader import data | |
df = data.DataReader("RELIANCE.NS", | |
data_source = "yahoo", | |
start = "2016-04-28", | |
end = "2021-03-28") | |
plt.style.use("fivethirtyeight") | |
plt.figure(figsize=(15,10)) |
NewerOlder