macpie.pandas.insert#
- macpie.pandas.insert(df: DataFrame, col_name, col_value, **kwargs)#
Adds a column to the end of the DataFrame
- Parameters:
- dfDataFrame
- col_namestr
Name of column to insert
- col_valuestr
Value of column to insert
- **kwargs
All remaining keyword arguments are passed through to the underlying
pandas.DataFrame.insert()
method.