Files
HowBadIsMyBatch/src/Column2DataframeAdder.py
frankknoll f74f007ffb refactoring
2023-04-03 21:45:12 +02:00

12 lines
238 B
Python

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')