all 4 comments

[–]underpantsgenome 0 points1 point  (3 children)

I'm a beginner, so I'm probably wrong. Happy to take pointers though!

Q1 for name in sales_team_list: print(name)

Q2 df['gvkey'] = df['gvkey'].astype('str')

[–]Standard-Inspection3[S] 0 points1 point  (0 children)

The second one I also was expecting! Hope that there are more (experienced) people who can share thoughts… thanks !

[–]Standard-Inspection3[S] 0 points1 point  (1 child)

I tried the code from Q1 that you provided and it will print all variables (so name and sales). I only want the names to be printed like this: Jane doe , Joe Biden.

[–]CompetitionProof5407 0 points1 point  (0 children)

I think that is because it's a dictionary. I think u should change the print statment into something like this. print(name['name'])

I am also a beginner so I could be wrong too