pydatafaker.business.create_vendor_table

pydatafaker.business.create_vendor_table(n=100)[source]

Create a table of fake vendors.

Parameters

n (int, optional) – The number of vendors to create, by default 100.

Returns

A dataframe containing: vendor_id, vendor_name, and vendor_address.

Return type

pandas.DataFrame

Examples

>>> from pydatafaker import business
>>> business.create_vendor_table()
    vendor_id                 vendor_name  ...                   phone                       email
0   vendor_00001                   Cross PLC  ...        140.020.8594x615   christopher58@example.org
1   vendor_00002  Reese, Alexander and Brown  ...              3053622738       anthony47@example.net
2   vendor_00003                 Collins LLC  ...  001-762-921-2180x55306  josephanderson@example.org
3   vendor_00004              Newton-Salazar  ...     (316)484-7324x28092         wcastro@example.net
4   vendor_00005                   Lee-Pratt  ...   +1-273-523-6439x95391     stephenbeck@example.org
..           ...                         ...  ...                     ...                         ...
95  vendor_00096                 Jones Group  ...         +1-356-662-3508          zcline@example.org
96  vendor_00097     Gray, Allison and Gomez  ...           (410)086-2754   sandersrobert@example.net
97  vendor_00098                  Moreno PLC  ...      (854)754-1215x6266       johnjones@example.org
98  vendor_00099                  Ruiz-Evans  ...       177-212-9248x3227   gregorybryant@example.org
99  vendor_00100               Taylor-Harmon  ...            180.498.3960      maryrangel@example.com
[100 rows x 6 columns]