violin plot to plot in ascending order
hi there,

i have created a violin plot but i would like the order of my plots to be in ascending numerical order. before i plot the ‘data’ to my code i have sorted my data by the x values in the hope that this will help.

data = data.sort\_values(by=[x\_value])

however, the order of my data is still…
sure, here you go:

import plotly.express as px

import pandas as pd

import numpy as np

from natsort import natsorted

df = pd.dataframe(dict(

value = np.random.rand(30),

bucket = ["[1-5)", "[10-15)", "[5-10)"]*10

))

px.violin(df, x="bucket", y="value", color="bucket",

category\_orde…
><snip angsty whining> I am supposed to read numbers out  

>of a file piano.data and put the results into report.out.  

How are the results to be formatted? Give us an example run of the program.



>The piano file is structured like this  

Exactly like that? Or are you adding your own commentary? The difference is in how you parse the data, and that's a pretty big difference. ?answer :
step 1 of 1 :


in a pareto chart, the bars are always arranged in descending order according to frequencies.
the pareto chart helps us understand data by drawing attention to the more important categories, which have the highest frequencies. hi [@maddy](/u/maddy),

i believe the issue here is that you've specified order here but not the filed to order it by, to quote the docs:

you use two parameters for this argument: field to specify the prismic field id and order to specify if you want it sorted ascending (asc) or descending (desc). you can use… If your loading the items into array list then sort the array to group the items. ?solution:

step 1
in this problem we need to clarify why shaker sort is efficient for sorting lists that are already in close to the correct order.
step 2
shaker sort is a sorting algorithm which compares pairs of adjacent elements, interchanging them if they are not in order. it moves one element at a time till it has reached its proper place in the ordered list by comparing element adjacent to it and also it sorts elements in both directions as it passes through the list. 
for a list that is already close to the correct order, shaker sort will only find the elements that are not in correct place and then put these elements in its correct position. since there are going to be a few elements which are not in their correct position therefore it will take less time for shaker sort to correct the order of the elements. hi paul,

i believe the financial reporting covers in quite a lot of detail exactly what you are looking for.

from what i can tell you aren’t using templates in your tables…

[[image]](https://forum.enterprisedna.co/uploads/db7134/original/2x/5/559a333f85c159c8d9bec9235ca5c45997d08858.png "image")

if you want to get a certain order and custom table then you really need to use the template approach covered in t… hi @timh we are very sorry that the “shuffle my music” feature algorithm is not perfect yet. i can assure you that the feedback has been passed on to the product team several times. they had to focus on other features but i just asked for you again and will let you know as soon as have more info. in the meantime, i highly recommend that you simply shuffle your favourites, listen to your flow, listen to the new playlist top 2019  or shuffle your own playlists on other days for more variety. [@najoua.abbaci](/u/najoua.abbaci)

mabye the flow can be adopted to following:

assign:

leftside: drresult (datatype: datarow)

right side:

dt\_datepv.asenumerable.orderby(function ( r ) datetime.parseexact(r(0).tostring.trim, “dd.mm.yyyy”, system.globalization.cultureinfo.currentuiculture.datetimeformat)).last()

so… direction: a word and number arrangement machine when given an input line of word and numbers rearranges them following a particular rule in each step. the following is an illustration of input and rearrangement. input: politics 61 policy 116 partner 93 role 45 clear 27 38 point step i: role politics policy 116 partner 93 45 clear 27 38 point 61 step ii: role clear politics policy partner 93 45 27 38 point 116 61 step iii: role clear partner politics policy 93 45 38 point 27 116 61 step iv: role clear partner politics policy 93 38 point 45 27 116 61 step v: role clear partner politics point policy 93 38 45 27 116 61 step v, is the last step of the above arrangement as the intended arrangement is obtained. as per the rule followed in the given steps find out the appropriate steps for the given input. input: energy 54 78 place 23 issue 211 145 flat rent taxi 17in step iii, what is the difference between fifth element from left and second element from right? this is not perfect but i hope it shows you one possible approach. i hand calculated the position of the whisker of each box plot and use that to place the y position of the labels.

plot<-q + scale\_x\_discrete(breaks=c("b","h"), labels=c("bs", "ah"))

plot2<-plot + theme(axis.title.x = element\_blank(…