Unique

Unique: Ensure all IP addresses are unique in the output of Resolution.

Copyright 2014 Damiano Boppart

This file is part of ECN-Spider.

unique.arguments(argv)[source]

Parse the command-line arguments.

Parameters:argv – The command line.
Returns:The return value of argparse.ArgumentParser.parse_args.
unique.get_input(file_)[source]

Read input CSV file and return it as a DataFrame.

Parameters:file – The filename.
Returns:The DataFrame.
unique.main(argv)[source]

Method to be called when run from the command line.

unique.unique_col(df, col_name)[source]

Remove duplicate records based on the values of only one column of the DataFrame.

Parameters:
  • df – The DataFrame.
  • col_name – The column name.

Previous topic

DNS Bulk Lookup Utility

Next topic

ECN_Spider

This Page