Note 8 - Goodwill and Intangible Assets (Details Textual) - USD ($) $ in Thousands  | 
1 Months Ended | 3 Months Ended | 8 Months Ended | 9 Months Ended | |
|---|---|---|---|---|---|
Dec. 05, 2018  | 
Jul. 31, 2019  | 
Jul. 31, 2018  | 
Jul. 31, 2019  | 
Jul. 31, 2018  | 
|
| Amortization of Intangible Assets, Total | $ 653 | $ 10,400 | $ 1,900 | $ 22,235 | $ 5,720 | 
| Goodwill, Out of Period Adjustment | (3,400) | ||||
| CPH Acquisition [Member] | |||||
| Goodwill, Out of Period Adjustment | (3,400) | ||||
| Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Financial Liabilities | $ (3,400) | ||||
| X | ||||||||||
- Definition Amount of out of period adjustment to goodwill. No definition available. 
  | 
| X | ||||||||||
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition This element represents the amount of any measurement period adjustment (as defined) realized during the reporting period to financial liabilities assumed in connection with a business combination for which the initial accounting was incomplete. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  |