I have an arcpy script that joins two tables together based on the FID field. This slows down my script considerably. The joining process takes several tens of minutes.
import arcpy
import os
from arcpy.sa import *
arcpy.JoinField_management("Selection_median_direction.shp", "FID", "Selection_median_length.shp", "FID", "length;Median_len")
I've found this tool which takes input from geodatabases (I have shapefiles): ArcGIS Online Tool. I can't get it to run as an arcpy stand-alone script. Is there another approach to fasten up the join field step? I am running several tasks such as e.g. the clip, erase and intersect tools and the join field command is only a part of my final script which takes up most of the processing time. This is why I was wondering if anyone has a faster solution for standalone arcpy scripts to speed up this process?