Bokeh-Pynotes-Growth
# https://docs.bokeh.org/en/latest/docs/first_steps/first_steps_1.html
# https://docs.bokeh.org/en/latest/_images/notebook_inline.png
# !pip install jupyter_bokeh
!pip show | grep "Version:"
[33mWARNING: ERROR: Please provide a package name or names.[0m[33m
[0m
Read More
Bollinger-Bands
# !pip install pandas_datareader
import pyutil as pyu
pyu.get_local_pyinfo()
'conda env: ml312-2024; pyv: 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0]'
import yfinance as yf
import pandas as pd
import matplotlib …
Read More
Book-Review-Analyzer
title: "Book Review Analyzer"
author: "Rj"
date: 2019-04-20
description: "List Test"
type: technical_note
draft: false
import json
from pprint import pprint
from nltk.sentiment.vader import SentimentIntensityAnalyzer
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
data = json.load(open('book-review.json'))
twt = data['reviews'][1 …
Read More
Bow-Counts
title: "Bag of word Counts"
author: "Raja CSP Raman"
date: 2019-05-02
description: "-"
type: technical_note
draft: false
from gensim.utils import simple_preprocess
from gensim import corpora
from pprint import pprint
contents = [
"The Star obtained a copy of the email outlining the latest in a series of Progressive Conservative provincial budget cuts …
Read More
Box-Plot
title: "Box Plot"
author: "Rj"
date: 2019-05-06
description: "List Test"
type: technical_note
draft: false
import pandas as pd
import numpy as np
abc = np.array([
[9, 13, 10],
[7, 12, 9],
[19, 11, 8]
])
array([[ 9, 13, 10],
[ 7, 12, 9],
[19, 11, 8]])
df2 = pd.DataFrame(abc, columns …
Read More
Box-Plot-2
title: "Box Plot "
author: "Rj"
date: 2019-04-20
description: "List Test"
type: technical_note
draft: false
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
import warnings; warnings.filterwarnings(action='once')
# Import Data
df = pd.read_csv("https://github.com/selva86/datasets/raw/master/mpg_ggplot2 …
Read More
Breakfast-Spending
title: "Breakfast Spending"
author: "Rj"
date: 2019-05-06
description: "List Test"
type: technical_note
draft: false
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6, 7, 8]
# Amount I spent on the breakfast
y = [9.12, 10.25, 11.25, 7.80, 8.90, 9.80, 10.12, 10 …
Read More