refactoring
This commit is contained in:
@@ -92,8 +92,7 @@
|
||||
" right_index = True)\n",
|
||||
"\n",
|
||||
" def _createBundeslandByKeyTable(self):\n",
|
||||
" bundeslandByKeyTable = self.kreise.reset_index()[['Key', 'Bundesland']]\n",
|
||||
" return bundeslandByKeyTable[bundeslandByKeyTable['Key'].str.len() == 2].set_index('Key')\n"
|
||||
" return self.kreise[self.kreise.index.str.len() == 2][['Bundesland']]\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user