Skip to content

Instantly share code, notes, and snippets.

View harshavmb's full-sized avatar
🎯
NannyAI

Harshavardhan Musanalli harshavmb

🎯
NannyAI
View GitHub Profile
@momota
momota / generate_L_size_csv.py
Last active October 7, 2024 09:28
Generate a large size of CSV file was filled random values. This script generates around 250MB size of the file. You can adjust two parameters `row` and `col` to generate the file which has desirable size.
import csv
import random
# 1000000 and 52 == roughly 1GB (WARNING TAKES a while, 30s+)
rows = 1000000
columns = 52
def generate_random_row(col):
a = []
l = [i]