refactoring
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"from HtmlTransformerUtil import HtmlTransformerUtil\n",
|
||||
"from ColumnsAdder import ColumnsAdder\n",
|
||||
"from KreisOptionsSetter import KreisOptionsSetter\n",
|
||||
"from TestHelper import TestHelper\n",
|
||||
"\n",
|
||||
"pd.set_option('display.max_rows', 100)\n",
|
||||
"pd.set_option('display.max_columns', None)\n",
|
||||
@@ -222,20 +223,6 @@
|
||||
"import unittest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "45072a1d",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"class TestHelper:\n",
|
||||
"\n",
|
||||
" @staticmethod\n",
|
||||
" def createDataFrame(index, columns, data, dtypes = {}):\n",
|
||||
" return pd.DataFrame(index = index, columns = columns, data = data).astype(dtypes)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
||||
Reference in New Issue
Block a user