Skip to content

Commit c3476a0

Browse files
Add files via upload
Collagen+whey creates a bar graph showing the amino acid content of whey powder and bovine collagen, per 100g.
1 parent cc6a7b7 commit c3476a0

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

Collagen+Whey.csv

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Amino,Collagen,Whey
2+
Alanine,8.2,4.4
3+
Arginine,8.7,1.6
4+
Aspartic Acid,5,9.8
5+
Cystine,0,2
6+
Glutamic Acid,10.5,15
7+
Glycine,22.4,1.4
8+
Histidine,1.3,1.4
9+
Isoleucine,1.5,5.8
10+
Leucine,2.6,9.2
11+
Lysine,3.4,8.5
12+
Methionine,0.8,1.9
13+
Phenylalanine,2,2.5
14+
Proline,12.4,4.9
15+
Serine,3.4,3.8
16+
Threonine,2.7,6.1
17+
Tryptophan,0,1.7
18+
Tyrosine,0.5,2.4
19+
Valine,2,4.9

collagen+whey_data.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env python
2+
# coding: utf-8
3+
4+
# In[12]:
5+
6+
7+
import pandas pd
8+
9+
10+
# In[13]:
11+
12+
13+
import pandas as pd
14+
15+
16+
# In[18]:
17+
18+
19+
data = pd.read_csv("/home/dba/health/Collagen+Whey.csv")
20+
data.set_index('Amino').plot.bar(rot=45, title='Collagen vs. Whey', figsize=(15,10), fontsize=12)
21+
22+
23+
# In[15]:
24+
25+
26+
27+
28+
29+
# In[11]:
30+
31+
32+
33+
34+
35+
# In[ ]:
36+
37+
38+
39+

0 commit comments

Comments
 (0)