I'm using the Orange3 gui and have been asked to generate basic plots where values relative to a "mean" or "Percentile Rank" are colorized.

I looked in Feature Constructor, but as far as I could tell it lacks a way to calculate the total number of rows, or instances of incoming data.

I've looked elsewhere for widgets that might help and stumbled upon Box Plot, however, if one attaches a Data Table to the output of Box Plot, we can see that no new columns contain the values of the mean or standard deviation are generated.

Is there some widget that has a function that can output these values, or the total number of rows selected / in the data set so that I can write my own function?

  • As with your other question: if it is about general usage of a package or programming in general, you will be better off asking on StackOverflow. – n1k31t4 Sep 14 at 9:02
  • 1
    @n1k31t4 Why would you believe that? My question is not about programming, and the data science package Orange3 is isn't in common usage outside the data science community. – virtualxtc Sep 14 at 9:23

Python Script widget looks like it might fit your needs, where, according to the docs, a code like this should give you the number of rows in a data set:

n_rows = len(in_data)

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.