Rebecca's suggestion is the right way to go. But just FYI you can also build your csv from scratch if you like (or if the out of the box tool does not have the function you need). The bellow code makes a tsv (tab separated values) report for MTRS.
import arcpy
import os
arcpy.env.overwriteOutput = True
in_path = r"xxxxx"
out_path = r"xxxxx"
def tsv_write(tsv_row):
for item in tsv_row:
tsv.write(item + "\t")
tsv.write("\n")
search_cursor = arcpy.da.SearchCursor(in_path, ["field_1",
"field_2",
"field_3"])
tsv = open(out_path, "w")
meridian_last = None
township_last = None
township_list = []
first_row_flag = True
section_list = []
for row in search_cursor:
meridian = row[0]
township = row[1]
section = row[2]
if first_row_flag:
township_last = township
first_row_flag = False
if township == township_last:
section_list.append(int(section))
else:
section_list.sort()
section_str = ""
for sec in section_list:
section_str = section_str + str(sec) + ", "
section_str = section_str[:-2]
print [township_last, section_str]
tsv_write([township_last, section_str])
section_list = []
section_list.append(int(section))
if meridian != meridian_last:
print meridian
tsv_write([meridian])
print ["Township, Range", "Sections"]
tsv_write(["Township, Range", "Sections"])
meridian_last = meridian
township_last = township
section_list.sort()
section_str = ""
for sec in section_list:
section_str = section_str + str(sec) + ", "
section_str = section_str[:-2]
print [township_last, section_str]
tsv_write([township_last, section_str])
tsv.close()