|
@@ -263,6 +263,7 @@ class GCHR:
|
|
|
|
|
|
df['Konto_5005'] = (df['Konto_Nr'].str.match('^5005')) & (df['Kostenstelle'].str.match(r'^[^12]'))
|
|
|
df['Kostenstelle'] = np.where(df['Konto_5005'] == True, '20', df['Kostenstelle'])
|
|
|
+ df['Kostenträger'] = np.where(df['Konto_5005'] == True, '50', df['Kostenträger'])
|
|
|
|
|
|
df['Konto_5007'] = (df['Konto_Nr'].str.match('^5007')) & (df['Kostenstelle'].str.match(r'^([^4]|42)'))
|
|
|
df['Kostenstelle'] = np.where(df['Konto_5007'] == True, '41', df['Kostenstelle'])
|