![]() Return faker.date_time_between_dates(datetime.strptime(d1, f), datetime. Status = 'created,delivered,returned'.split(',') It handles the names, integers and dates already, although you will probably want to add your own products and product categories. The faker package is built for this kind of use-case. So Please help me how to create the dummy data like i have mentioned with 10000 rows with in the ranges i have mentioned. I want to create the data with 10000 rows like above,Is there any best way to create in the ranges mentioned above Tried:Ī = įound how to generate random numbers but not with in the ranges and cities i want. Origin_city log_prov_id dispatch date final_del_status How can i create the dummy data using python Expected output:Īwb destination_city product product_categoryġ 104842891 Byatarayanapura Wrangler Denim Jeans Men's ClothingĢ 104842938 Bareilly Sky Blue Denim Men's Clothingģ 104842942 Saharanpur puma shoes Men's FootwearĤ 104842943 Saharanpur classic puma shoes Men's Foorwearĥ 104843066 Mumbai Elegant black belt Fashion Accessories This website provides extra functionality over the free script for companies to manage their own users accounts and allow users to easily register and manage their own data sets. So, from the above variables assumed i want to create the dummy data with in the ranges mentioned. 3 Generate About This is an open source project which can be downloaded for free from github (requires developer experience to set up and configure). Promised_delivery_date datetime between mar25-2015 to Apr6-2015 ![]() Assumed variables are as follows:ĭispatch_date datetime between mar01-2015 to mar15-2015įinal_delivery_status created,delivered,returnedĪctual_delivery_date datetime between mar16-2015 to mar30-2015 I am trying to create a logistics dummy dataset for doing some analysis and possible predictions on the data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |