What is the difference between `orange` and `Orange` when importing for the python machine learning package?

StackOverflow https://stackoverflow.com/questions/10792201

  •  11-06-2021
  •  | 
  •  

Question

Some parts of the docs have import orange and others have import Orange and they appear to have a different module organization. What's the difference?

Thanks!

Uri

Was it helpful?

Solution

Orange is the new top-level namespace introduced in 2.5 to unify the C++-based modules and Python-based modules, which were named as orange and orngXxxx. See http://orange.biolab.si/blog/2011/12/20/orange-25-code-conversion/ for detail.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top