Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Last active April 25, 2020 10:32
Show Gist options
  • Save aniruddha27/eb92480a97e03591a628f9a9a9caf466 to your computer and use it in GitHub Desktop.
Save aniruddha27/eb92480a97e03591a628f9a9a9caf466 to your computer and use it in GitHub Desktop.
import random
randomList = []
for i in range(10):
randomList.append(random.randint(0,1))
# dataframe
df = pd.DataFrame()
df['Start_date'] = dates_start
df['End_date'] = dates_end
df['Target'] = randomList
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment