import argparse
import re
import pandas as pd
import os
import json
from pyxdameraulevenshtein import damerau_levenshtein_distance
config = json.load(open('../config.json', 'r'))
REMOTE_SCRAPE_DIR = config['REMOTE_SCRAPE_DIR']
if __name__ == "__main__":
arg_parser = argparse.ArgumentParser()
arg_parser.add_argument('--use_remote', action="store_true", help='whether script is being run on remote cluster')
arg_parser.add_argument('--input_df_filename output//temp_combined_df_2000_1_1_to_2020_4_12.pkl', type=str, default=None,
help=r'C:\Users\Administrator\Desktop\数据处理0\1')
arg_parser.add_argument('--output_df_filename', type=str, default=None,
help='r'C:\Users\Administrator\Desktop\数据处理0\1')
args = arg_parser.parse_args()
from_name = os.path.join(args.input_df_filename)
save_name = os.path.join(args.output_df_filename)
combined_df_ft = pd.read_pickle(from_name)
报错:AttributeError: 'Namespace' object has no attribute 'input_df_filename'