Way to loop np.save or np.savetxt?
I have very large data sets and so need to save by appending parts. The simplified version is below and I’m not sure why it doesn't work:
number = 10 #the number of iterations
thing = np.array(1,2,3)
f = open('a.npy', 'ab') #open a file for appending
for i in range(number):
np.save(f, thing) #save the thing to a file
with open('a.npy', 'rb') as f: #open a file for reading
a = np.load(f)
print(a) #this just returns 1,2,3 (not this ten times which is what I want).
I.e. I want to return [1,2,3,1,2,3,1,2,3,...,1,2,3]
/r/Python
https://redd.it/mpxahi
I have very large data sets and so need to save by appending parts. The simplified version is below and I’m not sure why it doesn't work:
number = 10 #the number of iterations
thing = np.array(1,2,3)
f = open('a.npy', 'ab') #open a file for appending
for i in range(number):
np.save(f, thing) #save the thing to a file
with open('a.npy', 'rb') as f: #open a file for reading
a = np.load(f)
print(a) #this just returns 1,2,3 (not this ten times which is what I want).
I.e. I want to return [1,2,3,1,2,3,1,2,3,...,1,2,3]
/r/Python
https://redd.it/mpxahi
reddit
Way to loop np.save or np.savetxt?
I have very large data sets and so need to save by appending parts. The simplified version is below and I’m not sure why it doesn't work: ...
Cash Opportunities for Python Programmers 17th Dec Updates
Hey Pythonistas,
I scoured the internet - mostly GitHub - in search of extra cash opportunities for python programmers and data scientists.
/
I sought to share given we're all trying to survive capitalism. No need to gatekeep. Lol!
Bug Bounties
1. TinyGrad OpenSource Quick cash - George Hotz is running an open-source AI startup and he pays contributors 200$ to fix bugs. Here's the Google Spreadsheet listing all open bounties. Hurry up CUDA/Python devs!
Technical Writing
1. Deepnote (Y Combinator Startup 14 days quick cash) - Deep Note is a vc-funded startup making Jupyter Notebooks. They're paying technical writers 500$ for articles featuring their version of Jupyter Notebooks. They pay in 14 days after publishing. Open to Julia/R/SQL programmers. Here's the application form. Hurry up! They posted this one week ago.
Free AWS Credits
1. RoughDraft VC AWS Credits (1000$) - Rough Draft is a vc firm focused on funding university students. They offer 1000$ in AWS credits just for applying. TBH, I think this is a bug they haven't fixed. I tried it. You ONLY have to fill and click submit on this airtable form and you'll get 1000$ in AWS credits for free. No questions asked. Better get those credits before they fix
/r/Python
https://redd.it/18knx2b
Hey Pythonistas,
I scoured the internet - mostly GitHub - in search of extra cash opportunities for python programmers and data scientists.
/
I sought to share given we're all trying to survive capitalism. No need to gatekeep. Lol!
Bug Bounties
1. TinyGrad OpenSource Quick cash - George Hotz is running an open-source AI startup and he pays contributors 200$ to fix bugs. Here's the Google Spreadsheet listing all open bounties. Hurry up CUDA/Python devs!
Technical Writing
1. Deepnote (Y Combinator Startup 14 days quick cash) - Deep Note is a vc-funded startup making Jupyter Notebooks. They're paying technical writers 500$ for articles featuring their version of Jupyter Notebooks. They pay in 14 days after publishing. Open to Julia/R/SQL programmers. Here's the application form. Hurry up! They posted this one week ago.
Free AWS Credits
1. RoughDraft VC AWS Credits (1000$) - Rough Draft is a vc firm focused on funding university students. They offer 1000$ in AWS credits just for applying. TBH, I think this is a bug they haven't fixed. I tried it. You ONLY have to fill and click submit on this airtable form and you'll get 1000$ in AWS credits for free. No questions asked. Better get those credits before they fix
/r/Python
https://redd.it/18knx2b
Google Docs
Bounties
Football Tournament Maker V1.0
It is an open source web program designed by me you can modify it easily
🔹html
🔹css
🔹javascript
🔹python-flask
https://youtu.be/SMvMQYZiggQ
/r/Python
https://redd.it/1l72ucz
It is an open source web program designed by me you can modify it easily
🔹html
🔹css
🔹javascript
🔹python-flask
https://youtu.be/SMvMQYZiggQ
/r/Python
https://redd.it/1l72ucz
YouTube
شرح تحميل و تنصيب برنامج لإدارة مباريات كرة القدم من تصميمى فقط وحصريا على github
#github #open_source #football #كرة_القدم #tournament_maker
https://github.com/mahgad/Football-Tournament-Maker v1.0
⚽ نظام إدارة بطولات كرة القدم
نظام ويب شامل ومتطور لإدارة بطولات كرة القدم، الفرق، اللاعبين والمباريات باللغة العربية.
🌟 الميزات الرئيسية…
https://github.com/mahgad/Football-Tournament-Maker v1.0
⚽ نظام إدارة بطولات كرة القدم
نظام ويب شامل ومتطور لإدارة بطولات كرة القدم، الفرق، اللاعبين والمباريات باللغة العربية.
🌟 الميزات الرئيسية…