0

I have a dataframe called data and I have printed out its number of records as follows:

print("Dataset # records: ",str(len(data)))

The output is:

Dataset # records:  134904

What code do I need to use in order to get the thousands separated by a comma? I'd like the outcome to look like this:

Dataset # records:  134,904

0 Answers0