File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
AI-and-Analytics/End-to-end-Workloads/Census Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 94
94
"outputs" : [],
95
95
"source" : [
96
96
" #import pandas as pd\n " ,
97
+ " import modin.pandas as pd\n " ,
98
+ " \n " ,
97
99
" import modin.config as cfg\n " ,
98
- " cfg.Engine.put('native')\n " ,
99
- " cfg.Backend.put('omnisci')\n " ,
100
- " cfg.IsExperimental.put('True')\n " ,
101
- " import modin.pandas as pd"
100
+ " from packaging import version\n " ,
101
+ " \n " ,
102
+ " # Since modin 0.12.0 OmniSci engine can be enabled by setting the single StorageFormat configuration\n " ,
103
+ " if version.parse(modin.__version__) <= version.parse('0.11.3'):\n " ,
104
+ " cfg.Engine.put('native')\n " ,
105
+ " cfg.Backend.put('omnisci')\n " ,
106
+ " cfg.IsExperimental.put('True')\n " ,
107
+ " else:\n " ,
108
+ " cfg.StorageFormat.put('omnisci')\n "
102
109
]
103
110
},
104
111
{
You can’t perform that action at this time.
0 commit comments