Category : jupyter

First time posting BTW. I am trying to split a dataset in Jupyter notebook and eventually call this later to analyse it. So far I have the following. grouped_df = df.groupby([‘Column_1′,’Column_2′,’Column_4’]) grouped_df.head() But when I call grouped_df.head() it returns all 11 Columns. Can someone show me where I am going wrong? Source: Python..

Read more

I am trying to plot multiple bars on the same plot on my jupyter notebook. However, due to some reason, it does not work on the notebook,but it works on a normal python editor. Here is the code that I have used. import matplotlib.pyplot as plt plt.bar([‘A’,’B’,’C’],[72,73,88]) plt.bar([‘A’,’B’,’C’],[98,77,98]) plt.show() Any help will be highly appreciated. ..

Read more

I have been trying to do a box cox transformation on my dataframe. I have some predictor columns and one predictand and I need to use boxcox as there is a non linear relationship. I loaded my data and changed it to a numpy array, 1D. I then got an error when trying to apply ..

Read more