Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

pandas subplots

In [45]: df = pd.DataFrame(np.random.rand(10, 2), columns=["Col1", "Col2"])

In [46]: df["X"] = pd.Series(["A", "A", "A", "A", "A", "B", "B", "B", "B", "B"])

In [47]: plt.figure();

In [48]: bp = df.boxplot(by="X")
Comment

PREVIOUS NEXT
Code Example
Python :: matrix rotation in python 
Python :: python qr decomposition 
Python :: python get index of substring in liast 
Python :: 16 bit floating point numpy 
Python :: tqdm 2 progress bars 
Python :: link_to class 
Python :: unsupervised knn 
Python :: changing names of column pandas 
Python :: python try catch print stack 
Python :: raise exception without traceback python 
Python :: read xml file in python 
Python :: remove trailing zeros python 
Python :: find the place of element in list python 
Python :: if equal to key return value python 
Python :: how to print 2 list in python as table 
Python :: axvline matplotlib 
Python :: radix sort strings python 
Python :: ternary operator in python 
Python :: set default formatter for python vscode 
Python :: python split at index 
Python :: try for loop python 
Python :: add list python 
Python :: stack adt in python 
Python :: python length 
Python :: for char in string python 
Python :: if key not in dictionary python 
Python :: check django channels with redis setup 
Python :: python split by list 
Python :: tkinter hide widget 
Python :: generate hmach sha256 hash in python 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =