Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added db entries. just run csv_dataproc.py #2

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Database.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def add(self, person: Person):
person.personal_email,
person.school_email,
person.preferred_email,
person.active,
person.discord,
person.emplid,
]
Expand Down
2 changes: 1 addition & 1 deletion Person.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def __init__(
self.school_email = school_email
self.personal_email = personal_email
self.preferred_email = preferred_email
self.accept = active
self.active = active
self.discord = discord
self.emplid = emplid
35 changes: 33 additions & 2 deletions csv_dataproc.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
active_list= ['Judy', 'Franklin', 'Thanjila', 'Jay', 'Abrar', 'Ivan', 'Abdul', 'Mohammad', 'Brandon', 'Mudassir', 'Kritan']
#add query to match first name from csv
import pandas as pd
import numpy as np
from Person import Person
from Database import Database
db = Database()
df=pd.read_csv('data/B.Y.T.E Club Form (Responses) - Form Responses.csv')
df2=pd.read_csv('data/Team Grouping (Responses) - Form Responses.csv')
df=df.merge(df2,on='What is your name?', how='left')
df.drop_duplicates(subset=['What is your name?']) #removes weird edge cases

#print(df.columns) #ignore, this is just for reference when i was building -jawad
for index,row in df.iterrows():
name_arr = row['What is your name?'].split(' ')
middle = ""
if len(name_arr) > 2:
middle = ' '.join(name_arr[1:-1])

#print(row['What is your EMPLID']) #ignore, debugging line
new_person = Person(
None,
name_arr[0],
middle,
name_arr[-1],
row['What is your CityMail?'],
row['if you prefer we contact your personal email, please put it here'],
(row['if you prefer we contact your personal email, please put it here']!=None),
False, #active bool. by default is false for all members.
row["What's your discord?"],
row['What is your CityMail?']
)

db.add(new_person)

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Make connections. ",yes,,,,,,,
2/15/2024 12:42:28,giorgio120890@gmail.com,Giorgio Wirawan,gwirawa000@citymail.cuny.edu,24294008,giorgio120890@gmail.com,Sophomore,5-10 years,"Python, C++, Java",8,N/A,"Software engineering, Web development, Game Development, AI/Machine Learning",Projects and coding experience,no,ishmam - i say no because how does this man have 5-10 years of exp but doesnt say anything for projects,,,,,,
2/15/2024 15:38:45,brandonvasquez2146@gmail.com,Brandon Vasquez,bvasque004@citymail.cuny.edu,24033805,,Senior,1-2 years,"Python, C++, Java, JavaScript, SQL, HTML/CSS",7,Yes CTP and various other projects,"Software engineering, IT, AI/Machine Learning",Create more stuff!!!!,yes,nepotism,,,,,,
2/16/2024 16:17:20,ktitanbb@gmail.com,Kritan Baniya,Kbaniya000@citymail.cuny.edu,24155228,,Sophomore,<1 year,C++,4,N/A,"Software engineering, Web development","Hope to network, make friends, and build experiences that can help me in my career.",no,"ishmam - i say no, mid application ",jinder - mid app,,,,,
2/16/2024 16:19:11,liujudy04@gmail.com,Judy,Jliu023@citymail.cuny.edu,24133516,liujudy04@gmail.com,Sophomore,2-4 years,"C++, Java",2,N/A,"Software engineering, Web development, Game Development, AI/Machine Learning","I have a lot of ideas I would like to implement, but is restricted through my lack of experience. As someone who has been studying computer science for a little over 2 years, I felt that coursework did not focus or help me in implementing the ideas I had; Rather it would teach me the basics of a languages and problem-solving. Neither did the coursework require us to work in groups. Additionally, I used to be set on front-end but as I researched different career paths, I began to be more open and interested in different options in computer science.
2/16/2024 16:19:11,liujudy04@gmail.com,Judy Liu,Jliu023@citymail.cuny.edu,24133516,liujudy04@gmail.com,Sophomore,2-4 years,"C++, Java",2,N/A,"Software engineering, Web development, Game Development, AI/Machine Learning","I have a lot of ideas I would like to implement, but is restricted through my lack of experience. As someone who has been studying computer science for a little over 2 years, I felt that coursework did not focus or help me in implementing the ideas I had; Rather it would teach me the basics of a languages and problem-solving. Neither did the coursework require us to work in groups. Additionally, I used to be set on front-end but as I researched different career paths, I began to be more open and interested in different options in computer science.
I would love the opportunity join B.Y.T.E as I feel that it can fulfill my aspirations. I always wanted to be able to go to someone for advice or ask questions on understanding code in a project; Which is why I hope to join a community where I feel comfortable enough to work with others who also share the same goals as me.
Although I lack experience, I do not lack the motivation to learn. I have been attending workshops, events, and clubs as an attempt to network and familiarize myself with the different software; While also watching videos on new languages. Overall, I wish to create projects with a team, receive mentorship, create personal projects, improve my resume, and ultimately settle on a career path that I would enjoy. ",yes,ishmam - i put it as yes cuz her response was outstanding for last question,fahad - dedicated but no experience,,,Imma run this in a gpt checker,,
2/16/2024 18:29:03,mohmedbemat21@gmail.com,Mohmed Bemat,mbemat000@citymail.cuny.edu,24418117,,Freshman,1-2 years,"C++, JavaScript, HTML/CSS",7,"I participated in the All Star Code Summer Intensive Program last summer. I programmed projects such as video games, drawing characters, and creating my own web applications. I also enhanced my soft skills such as communication, creativity, and project management.",Software engineering,"The B.Y.T.E. Club is the opportunity of a lifetime. If accepted to the program, I will have the opportunity to plan and build projects with my peers. This will enhance my collaboration skills. I also receive mentorship and advice from more experienced members and leaders. The club will also help me become confident with my technical skills and will prepare me for interviews.",yes,,,,,,,
Expand All @@ -44,11 +44,11 @@ Although I lack experience, I do not lack the motivation to learn. I have been a
2/19/2024 20:03:19,seeramrajiv5@gmail.com,Rajiv Seeram,rseeram000@citymail.cuny.edu,23986674,,Junior,1-2 years,"Python, C++, SQL, HTML/CSS",1,I did try the CodePath program but didn’t complete it.,"Software engineering, Web development, AI/Machine Learning",I hope to learn about the different areas to apply my computer science degree and find the one suitable for me. I also hope to gain experience in different areas of knowledge to apply to future jobs.,no,ishmam - no because he/she didnt commit to codepath,,,,,,
2/19/2024 20:05:01,mohammednkhan0015@gmail.com,Mohammed Nazib Hossain Khan,mhossai035@citymail.cuny.edu,24441882,,Freshman,1-2 years,"Python, C++, JavaScript, SQL, HTML/CSS",5,I have worked with BTT as a sprintern this January and currently taking a Codepath Web102.,"Software engineering, AI/Machine Learning, Data Science",I really just want to start working on some projects and working with other driven people.,yes,"ishmam - leaning towards yes, although freshmen, he did a sprinternship ",,,,,,
2/19/2024 20:08:32,v.martinez.melissa@gmail.com,Melissa Martinez,mmartin062@citymail.cuny.edu,24023468,,Junior,1-2 years,"Python, C++, JavaScript, HTML/CSS",6,N/A,"Software engineering, Cyber Security, Data Science",I want to feel more confident and experienced with the skills I have and will possess with this club.,no,"ishmam - no, mid app",,,,,,
2/19/2024 20:20:50,fdoming002@citymail.cuny.edu,Franklin,fdoming002@citymail.cuny.edu,24453950,,Freshman,<1 year,"Python, Java, HTML/CSS",1,recreated wordle and gonna be apart of CodePath web101 this semester,"Software engineering, Web development",guidance on what I should be learning to get to that next level (A roadmap). ,yes,"ishmam - leaning towards yes, seems motivated given he's new + created wordle",,,,,,
2/19/2024 20:20:50,fdoming002@citymail.cuny.edu,Franklin Dominguez,fdoming002@citymail.cuny.edu,24453950,,Freshman,<1 year,"Python, Java, HTML/CSS",1,recreated wordle and gonna be apart of CodePath web101 this semester,"Software engineering, Web development",guidance on what I should be learning to get to that next level (A roadmap). ,yes,"ishmam - leaning towards yes, seems motivated given he's new + created wordle",,,,,,
2/19/2024 21:00:49,marcosfut1022@gmail.com,Marcos Mateos ,mmateos000@citymail.cuny.edu,24438569,,Freshman,1-2 years,"Python, C++, SQL, HTML/CSS",5,I have worked on a a few personal projects in python. Mainly using GUIs and APIs. I have also some experience working with data analysis libraries like numpy and pandas.,"AI/Machine Learning, Data Science","As I am pursuing a career in Data science, I hope to be able to improve my skills in Data analytics/science, as well as improve my collaboration skills. Even if I am not working with data as much, I hope to gain valuable skills that can help me achieve my goals.",yes,ishmam - yes cuz has exp with projects ,,,,,,
2/19/2024 21:24:31,hdomenica16@gmail.com,Domenica ,dherrer008@citymail.cuny.edu ,24274677,hdomenica16@gmail.com,Freshman,<1 year,"Python, C++",4,N/A,"Web development, AI/Machine Learning, Data Science","I want to expose myself to the different branches of Computer Science, I want to explore, as well expand my knowledge, connect with other individuals who share the same interests as me, and if it is possible make an impact in the STEM community. ",no,ishmam - leaning towards no but i also feel pity for him/her cuz theyre freshie,fahad - no experience,,,,,
2/19/2024 21:35:30,tanvirislamnyc@gmail.com,Tanvir Islam,tislam017@citymail.cuny.edu,24302800,tanvirislamnyc@gmail.com,Freshman,1-2 years,"Python, C++, JavaScript, HTML/CSS",5,"I am currently part of codepath, haven’t started the project yet. But I haven’t worked on any project ",Software engineering,"Resume, workshops, buildings projects, networking and learning more about the field ",no,ishmam - no cuz we dont do resume or workshops,,,,,,
2/20/2024 9:20:23,abrarhasnat2004@gmail.com,Mohammad Hasnat,mhasnat002@citymail.cuny.edu,24314929,Yes contact my personal email ,Sophomore,<1 year,"Python, JavaScript, HTML/CSS",7,N/A,"Software engineering, Web development, AI/Machine Learning",I want to gain experience and projects to add to my resume and expand my network to future proof my career ,no,fahad - no experience,,,,,,
2/20/2024 9:20:23,abrarhasnat2004@gmail.com,Mohammed Nazib Hossain Khan,mhasnat002@citymail.cuny.edu,24314929,Yes contact my personal email ,Sophomore,<1 year,"Python, JavaScript, HTML/CSS",7,N/A,"Software engineering, Web development, AI/Machine Learning",I want to gain experience and projects to add to my resume and expand my network to future proof my career ,no,fahad - no experience,,,,,,
2/20/2024 9:44:17,dlucero0715@gmail.com,Diana Lucero ,Dlucero000@citymail.cuny.edu,24166866,,Sophomore,<1 year,"Python, C++, HTML/CSS",1,No not yet,"Software engineering, Web development, Game Development, Data Science","I hope to become more exposed, aware, and experience in the fields of Computer Science. I am curious and constant learn, I always want to grow in my knowledge but I need some guidance",no,fahad - no experience,,,,,,
2/21/2024 11:14:39,surjokirttania04@gmail.com,Aditta Kirttania ,akirtta000@citymail.cuny.edu,24364121,,Freshman,<1 year,C++,5,I'm currently part of Codepath web development course,"Software engineering, IT, AI/Machine Learning, Data Science","Always wanted to involve myself with a group where we could develop something technical together. But I never got the chance of doing so. So being a part of the club would provide me the opportunity of innovate something using my knowledge as well as my peers' skills/knowledge. That way we could develop successful softwares. Team work is one of the valuable to skills to learn, where we teach each other from my own initial knowledge, and try to build more through learning from others. ",yes,,,,,,,
2/21/2024 11:59:41,thamida.choudhury@gmail.com,Thamida Choudhury,tchoudh005@citymail.cuny.edu,24184055,thamida.choudhury@gmail.com,Junior,1-2 years,"Python, C++, Java, HTML/CSS",5,"Codepath: I did their technical coding summer program. I also did IOS Development 101 and this semester, I am doing Web Dev 102.","Software engineering, Data Science","A community of likeminded individuals who help motivate me. I want to not only share future opportunities with them, but also get exposed to opportunities. Additionally, I would love to meet new people to work on projects and possibly do hackathons together.",yes,,,,,,,
Expand Down
25 changes: 25 additions & 0 deletions data/Team Grouping (Responses) - Form Responses.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Timestamp,What is your name?,What's your GitHub?,What's your discord?,What technologies are you most comfortable with using? (separate each by a comma),What technologies/technical skills do you want to improve on?,Are you able to commit some time to attend weekly meetings with your group?
2/26/2024 10:55:10,Imtiaz Chowdhury ,Https://GitHub.com/Imtiaz5,Doffy8486,"Python, C++, C#, Html/css/Javascript, node, react, flask",To build actual softwares and how to implement logic to my said softwares and also kubernetes.,Yes
2/26/2024 11:04:41,Judy Liu,Jdlu04,Judy.l,"C++, Java, Replit ","I want to improve on git, front end development (html, css, javascript, react), and game development",Yes
2/26/2024 11:17:17,Rafid Zia,https://github.com/rafi-d-z,r.zia,"git, node, react, javascript, python, c++, c#, unity3d,","data science, game development, unreal engine, machine learning",Yes
2/26/2024 12:23:16,Zhuolin Li,zhu0lin,xy.xr,"Git, C++, Java",Overall problem solving and thinking skills. I would also like to learn another language.,Yes
2/26/2024 12:42:43,Franklin Dominguez,FranklinDa-minguez,cosmo6492,"html,css,js,java,python","i would like to dive deeper in backend web dev and learn node, express, api's, databases, and what ever there is to learn",Yes
2/26/2024 12:47:40,Brandon Vasquez,BVasquez07,pulp0,"JavaScript, Node, Express, React, Python","back end dev, JS, Python",Yes
2/26/2024 14:17:47,Ivan Chen,https://github.com/IvanC112,ivan10,"git, c++, javascript, react",Learning and improving my understanding of the MERN stack,Yes
2/26/2024 15:29:31,Kritan Baniya,https://github.com/kritanbaniya,pillowwwwww,Python,Git,Yes
2/26/2024 17:05:13,Nasif Rahman,nasifr,ghosted1050,"JavaScript, React/NextJs, git","Python, numpy, matlab, angular ",Yes
2/26/2024 19:34:58,Thanjila Thahsin,,slicedbybread,"figma, python, adobe photoshop/illustrator/indesign","I'd like to build skills in UX/UI mainly, but I do want to learn basic web design so html/css and javascript",Yes
2/26/2024 21:26:53,Mohammed Nazib Hossain Khan,https://github.com/mnk0015,itzbluepandaz,"Python, JavaScript, HTML, CSS, SQL, C++, Unix Shell + Git. ( I tend to forget a lot but I am good a googling and searching for what I want for a certain task or project.) ",Most likely Data and Backend. Explanation: I just want more overall experience working with data. Currently I am doing web102 in codepath to learn more about the react web framework but I do want to work more with data and backend and hopefully slowly transition to machine learning later on in the coming years.,Yes
2/26/2024 22:17:27,Aditta Kirttania,adittak,adi_43,"github, c++",everything :'),Yes
2/26/2024 22:20:39,Abrar Habib,https://github.com/dddictionary,dddictionary,"git, python, numpy, matplotlib, rust, flask, c, c++","rust, machine learning",Yes
2/26/2024 22:38:37,Meftahul Ahsan,https://github.com/meftahul1,meftahulahsan,"python, c++, javascript","react, node, next, matplotlib, numpy",Yes
2/27/2024 10:35:11,Jay Noppone Pornpitaksuk,https://github.com/jaynopponep,stirfry.zz,"Git, React, Pandas/Numpy, Python, Java, JS, C++, Android Studio, Flask","Willing to learn Docker, Express, and other frameworks. Wanting to improve in backend skills like Spring Boot.",Yes
2/27/2024 22:03:48,Tenzin Choezom,https://github.com/cherry-code,chorangutan,"C++, matlab, git, java","Python, SQL, scikit-learn/matplotlib, javascript, react, swift",No
2/28/2024 8:24:07,Debasree Sen,github.com/wallaweebs,smoresinthishouse#7050,"Python, C++, Git","Java, React, Node, SQL, etc.",Yes
2/28/2024 9:45:14,Thamida Choudhury,thamidachoudhury1,thamicb,"Git, python, react, java",I want to continue creating real world projects in Python and Java to improve my skills. ,Yes
2/28/2024 11:27:28,Mudassir Sami,,swifto7,"python, c++","I want to improve upon building projects and fundamental programming skills, and overall understanding of my program",Yes
2/28/2024 17:30:28,Mohmed Bemat,https://github.com/mohmedbemat,MohFroYo#6898,"C++, Javascript, HTML, CSS","React, SQL, Python, Node",Yes
2/28/2024 23:36:33,Marcos Mateos,marcalishous,marcosmat10,"python, pandas/numpy",Data Science / Analytics / App development,Yes
3/1/2024 9:26:53,Rawnak Ahmed,github.com/rawnakz,rawnakz,"Java, C++, HTML/CSS (beginner), Swift (beginner)","Python, JavaScript, Front-end frameworks, Git, Backend",Yes
3/1/2024 18:06:03,Abdul Andha,Abdul-Andha,thunder985,"git, python, node, react, swift","deployment, testing, ",Yes
3/4/2024 11:29:47,Arnav Deepaware,,arnav279,"Python, Java, C++, R, Pandas, Numpy, MySQL, DBMS, HTML, CSS, Microsoft VS Code, Jupyter, Git, Figma, Replit, Flexbox","Front End Development, Data Science Libraries (PyTorch, matplotlib, scikit learn etc.)",Yes
4 changes: 2 additions & 2 deletions database/pgQueries.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self):
self.add_blacklist = """ INSERT INTO blacklist (uid) VALUES (%s) """
self.delete_person = """ DELETE FROM people WHERE uid = (%s) """
self.add_person = """ INSERT INTO people (first_name, middle_name, last_name,
personal_email, cuny_email, preferred_email, discord, emplid)
VALUES (%s, %s, %s, %s, %s, %s, %s, %s) RETURNING uid"""
personal_email, cuny_email, preferred_email,active, discord, emplid)
VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s) RETURNING uid"""
self.mark_inactive = """ UPDATE people SET active = false WHERE uid = (%s) """
self.mark_active = """ UPDATE people SET active = true WHERE uid = (%s) """
Binary file modified req.txt
Binary file not shown.
Loading