8

How to Create Dummy Data in Python

 3 years ago
source link: https://hackernoon.com/how-to-create-dummy-data-in-python-lpn37x1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to Create Dummy Data in Python

Dummy data is randomly generated data that can be substituted for live data. Faker is a simple python package that generates fake data with different data types. The Faker python package is heavily inspired by PHP Faker, Perl Faker and by Ruby Faker. In the following examples, you will learn 10 different ways to create dummy dates and times data. You can also create more than one profile data into a pandas data-frame with just a few lines of code. The following example, we will create a fake basic profile with personal information such as name, gender, mail and address.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK