Skip to content
Snippets Groups Projects
Commit 3d687a30 authored by Hans van den Heuvel's avatar Hans van den Heuvel
Browse files

Found and fixed error in concat due to recoding.

parent ca936e00
Branches
No related tags found
No related merge requests found
......@@ -400,10 +400,8 @@ efsa_combined.mcra.copycolumn(
#
efsa_combined.loc[
(efsa_combined['idProcessingType'].notna()),
'idFoodProcessed'] = '{idFoodUnProcessed}-{idProcessingType}'.format(
idFoodUnProcessed=efsa_combined['idFoodUnProcessed'].astype(str),
idProcessingType=efsa_combined['idProcessingType'].astype(str))
#
'idFoodProcessed'] = efsa_combined['idFoodUnProcessed'].astype(str) \
+ '-' + efsa_combined['idProcessingType'].astype(str)
# That wasn't so hard :-)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment