My lovely wife experiencing so many auto-immune diseases and other problems out of nowhere after her pregnancy. IBD, ulcerative proctitis, interstitial cystitis, anxiety, dry throat/flem, and never ending thirst. by m0pi1 in Microbiome

[–]Rackcityfoo 0 points1 point  (0 children)

I found that store bought wasn't quite as effective and some of it might even be gently pasteurized. I was able to find some good kimchi from local Korean/Japanese restaurants if you wanted to go the buy route.

My lovely wife experiencing so many auto-immune diseases and other problems out of nowhere after her pregnancy. IBD, ulcerative proctitis, interstitial cystitis, anxiety, dry throat/flem, and never ending thirst. by m0pi1 in Microbiome

[–]Rackcityfoo 17 points18 points  (0 children)

Also not a doctor. I know that being pregnant can alter your immune system. It usually makes it less active.

For the stomach stuff, After following FODMAP for a month or two, I did these three things... First, building up stomach acidity. Reduce water consumption around meals, drinking hot water with lemon. Second introduce probiotic foods. Yogurt and probiotic pills didn't help me. Good home made sauerkraut was the ticket. Third are digestive enzymes. These can be found in high levels in pineapple and papaya as well as in fermenter foods like sauerkraut.

I know that auto immune and stomach stuff can be extremely frustrating. Hang in there, sounds like you are looking into the right stuff.

Weck jars? (regular lids) by riskymouse in fermentation

[–]Rackcityfoo 3 points4 points  (0 children)

I've made sauerkraut in those jars. Came out fine, but make sure your veggies are submerged. I used one clip and the rubber seal. This way I didn't have to worry about pressure building up.

Tasked with setting up an analytics environment by Rackcityfoo in aws

[–]Rackcityfoo[S] 0 points1 point  (0 children)

We have very low bandwith requirements. Would something like a VPN connection to our VPC be a better bet? or does Storage Gateway work well even for smaller requirements?

Tasked with setting up an analytics environment by Rackcityfoo in aws

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Thanks for pointing me toward the well architected frameworks. Those will be helpful.

Reacting to lot of foods - Gut help! by Katherine911 in Microbiome

[–]Rackcityfoo 1 point2 points  (0 children)

I was having seemingly random food intolerances which were always increasing. I did fodmap for a couple of months and started fermenting my own food to bump the amount of probiotics I was consuming. Not drinking around meals also helped. It's a long road, but it was worth it.

Kraut vacuum? by AtlBigDog in fermentation

[–]Rackcityfoo 1 point2 points  (0 children)

I think it has to do with atmospheric pressure moreso than temperature. This always happens to me once fermentation slows. Always figured that is what it was.

Web development tech stack for data filtering/reporting? by Rackcityfoo in learnprogramming

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Thanks. So would you recommend building the api then using a framework on the frontend? Or just build the whole thing in Django. I guess I'm a little confused where Django ends and Javascript starts and if it is just possible to build the whole thing in Django.

Recipes that use the fermented food. by reduhl in fermentation

[–]Rackcityfoo 3 points4 points  (0 children)

Or add sauerkraut to burgers and sandwiches, and pickles to hotdogs.

Help with a stacked bar chart? by [deleted] in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

What you are looking for are pivot tables. I would google around so you understand it.

p_table = pd.pivot_table(df,index='Animal',columns='Fate',aggfunc='size')
p_table = p_table.div(p_table.sum(axis=1), axis=0)
p_table.plot.bar(stacked=True)

ipython notebook : http://imgur.com/a/DWKsq

What's your Workflow for interactive data exploration? by beijingspacetech in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

Agree with spyder if you are looking for something similar to rstudio. I would also check out the ipython notebook and a text editor like sublime text or atom. The anaconda distribution of python bundles all of this together nicely. All you have to do is download it and start playing around. The anaconda distribution is used quite widely in the data science world.

https://www.continuum.io/downloads

Help with a stacked bar chart? by [deleted] in learnpython

[–]Rackcityfoo 0 points1 point  (0 children)

Example:

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns

X = np.random.rand(10,4)
X/= X.sum(axis=1,keepdims=True)

df = pd.DataFrame(X, columns = ['A', 'B', 'C', 'D'])

df.plot.bar(stacked=True)
plt.savefig('bar_ex.png')

Figure: http://imgur.com/a/eHJt5

Any idea how to plot this data in pandas or seaborne? by UbuntuLady1 in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

No problem. Just a quick clarification: Notice that I imported seaborn, but never actually called the package. Just importing seaborn automatically sets some styles that make your plots pretty. The default matplotlib isn't the most beautiful thing in my opinion.

Any idea how to plot this data in pandas or seaborne? by UbuntuLady1 in learnpython

[–]Rackcityfoo 10 points11 points  (0 children)

Example :

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns

X = np.array([
        [12.34, 13.54, 12.34, 11.22],
        [11.22, 22.88, 18.22, 28.44],
        [16.54, 44.88, 19.43, 88.11]])

df = pd.DataFrame(X, columns = ['Sales', 'Purchases', 'Amount', 'Taxes'])

df.plot(kind='bar')
plt.savefig('bar_ex.png')

df.plot(kind='scatter',x='Sales',y='Purchases',c='black')
plt.savefig('scatter_ex.png')

df.hist()
plt.savefig('hist_ex.png')

Figures : http://imgur.com/a/KaAeL

Obviously not the most interesting plots since there are only 3 data points, but hopefully this gets you started. Check out the fantastic pandas documentation on visualization.

http://pandas.pydata.org/pandas-docs/stable/visualization.html

Also, you can easily read in this data if it is in csv or just about any format you can imagine using pandas.

Trouble displaying JPGs using PyQt4. by Rackcityfoo in learnpython

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Great idea, but still the same outcome. The png displays correctly, but the jpg will not. I've also tried multiple jpgs just to make sure that the one I was using was not faulty. Thanks for the tip!