u/Justicemirm

What even is pandas(DataFrame)

I learnt pandas today (DataFrame)

realised that it's just a dictionary and the only thing pandas contributes is the ability to concat which can be substituted by append

and the ability to add the index? which can also be used to alter the contents inside (talking about DataFrame

am I right?

this is my code btw

import pandas as pd

student_marks={"Name":["Arpit","Sam","Sameul"],

"Age":[11,12,13]}

def space():

print("\n"*4)

list=pd.DataFrame(student_marks,index=["Student 1","Student 2","Student 3"])

jack=pd.DataFrame([{"Name":"Jack","Age":14}],index=["Student 4"])

list=pd.concat([list,jack])

print(list)

space()

list["Marks"]=[11,12,13,42]

print(list)

space()

print(list.loc["Student 4"])

space()

print(list.iloc[3])

list.loc["Student 4","Name"]="Araragi"

space()

print(list)

reddit.com
u/Justicemirm — 4 days ago

Next step is ?

I know functions,have decent introduction to class. def

can open and make files

learnt json

next step?

ig CSV but what to do with this?

I have made tons of dummy projects so don't worry about that

I just want to know the next step

tried asking chat gpt but that guy is a dumbkoff

any help regarding what I should learn next would be appreciated

reddit.com
u/Justicemirm — 5 days ago

I learnt python from him

I want to learn additional imports like nymphy and what not because I heard that they are important

are there any youtubers with video quality like his?

or can someone help me understand what I should be learning to strengthen my core(I made some dummy projects already)

um any info?

reddit.com
u/Justicemirm — 11 days ago

Started learning python a month ago

I understand most functions and methods and have made several small projects like calculator, password strength checker and some games with extended use of if-else if

I have started to solve some leetcode problems

they are way too hard for me (medium ones)

I understand the questions but can't solve them

are those questions meant to not be solved but to be learnt like it's a new topic itself

when I see the solution I understand what's happening but I know I can't replicate those as they make multiple new sets and use them before you add to the set like in three sum and leetcode 17

please guide me in this ,my head is gonna explode

reddit.com
u/Justicemirm — 13 days ago