<s>[INST] import pandas as pd

df = pd.DataFrame({
   'products': ['ProductA', 'ProductB', 'ProductC', 'ProductA', 'ProductD'],
   'In_Production_coeffs': [6, 1, 0.6, 4, 12]
})

# plotting
# import plotly
%matplotlib
# import matplotlib.pyplot as plt
import seaborn as sns
import matplotlib.pyplot as plt
# from ucitavanje import df

sns.set_style('whitegrid')
sns.set_context('notebook',font_scale=0.7)
sns.set_style("ticks", { "xtick.major.size": 10,
                      "ytick.major.size": 10,
                      "xtick.minor.size" : 5,
                      "ytick.minor.size" : 5,
                      "grid.linewidth" : 1
                      })
# Set plot dimensions
fig, ax = plt.subplots(figsize=(7, 5))
# Plot data
sns.boxplot(data=[df['In_Production_coeffs'][df['products'] == 'ProductA'],
                          df['In_Production_coeffs'][df['products'] == 'ProductB'],
                          df['In_Production_coeffs'][df['products'] == 'ProductC'],
                          df['In_Production_coeffs'][df['products'] == 'ProductD']],
             palette='cool',
             ax=ax)

# Set the title and labels
ax.set_title('Box plot')
ax.set_xlabel('Products')
ax.set_ylabel('In_Production_coeffs')

# Show the plot
plt.show()
# dfinsurance['credit_mix'].value_counts()
Here is the code I wrote for box plot where I put data for each product separated. But now I have dataframe which looks like this:
|  Company  | Product  |  Meal  | Term |Session  | Nightly_billing_coeff| Conversion_coeff| In_Production_coeffs|
|:---------:|:--------:|:------:|:----:|:-------:|:-------------------:|:---------------:|:------------------:|
| CompanyA  | ProductA | Everyday|  Year| Off_session | 150                |         0.03    | 6                  |
| CompanyA  | ProductB | Everyday|  Year| Off_session | 151                |         0.02    | 1                  |
| CompanyB  | ProductC | Weekend | Month| On_session  | 155                |         0.016   | 0.6                |
| CompanyA  | ProductD | One_day | Month| Off_session | 156                |         0.015   | 12                 |

and now my task is to
1.) to create a box plot showing In_Production_coeffs distribution for ProductA, ProductB, ProductC and ProductD and compare them.

How can I modify the code so that I don't have to manually separate data every-time if it becomes large?[/INST]