refactoring

This commit is contained in:
frankknoll
2023-04-03 21:45:12 +02:00
parent eab96f30f1
commit f74f007ffb
4 changed files with 15 additions and 38 deletions

View File

@@ -0,0 +1,11 @@
import pandas as pd
def addColumn2Dataframe(dataframe, column):
return pd.merge(
dataframe,
column,
how = 'left',
left_on = 'LOT_NUMBER',
right_index = True,
validate = 'many_to_one')