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
license: gpl-3.0 | |
height: 1000 |
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 os | |
import pandas as pd | |
import numpy as np | |
import yfinance as yf | |
import datetime as dt | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
sns.set(style = 'ticks', context = 'talk') | |
plt.style.use("dark_background") |
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 os | |
import pandas as pd | |
import datetime as dt | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
import ccxt | |
sns.set(style = 'ticks', context = 'talk') | |
plt.style.use("dark_background") |
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 os | |
import pandas as pd | |
import datetime as dt | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
import ccxt | |
from dateutil import relativedelta | |
import numpy as np | |
sns.set(style = 'ticks', context = 'talk') |
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 praw | |
import pandas as pd | |
import numpy as np | |
import sqlite3 | |
class redditMethods: | |
global comment2df | |
def comment2df(comment): | |
try: |
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 re | |
cList = { | |
"ain't": "am not", | |
"aren't": "are not", | |
"can't": "cannot", | |
"can't've": "cannot have", | |
"'cause": "because", | |
"could've": "could have", |
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 re | |
import numpy as np | |
import pandas as pd | |
import sqlite3 | |
#import seaborn as sns | |
import matplotlib.pyplot as plt | |
import itertools | |
from sklearn.model_selection import train_test_split |