radproc.arcgis.join_df_columns_to_attribute_table

radproc.arcgis.join_df_columns_to_attribute_table(df, columns, fc, fcJoinField)

Join DataFrame columns to attribute table of a feature flass or Shapefile. The fields are added to the existing feature class, which will not be copied.

Parameters:
df : pandas DataFrame
with data columns to be joined to attribute table. The join will be based on the DataFrame index by default. But if the DataFrame contains a column with exactly the same name as fcJoinField, the join will be based on this column instead of the index.
columns : List of Strings or pandas column Index object
containing names of columns which are to be joined to feature class. The column list may also be a pandas column index generated by calling df.columns
fc : String
Path and Name of feature class or shapefile.
fcJoinField : String
Name of the join field in the feature class. If a column with exactly the same name as fcJoinField is contained in the DataFrame, the join will be based on this column instead of the index.
Returns:
None