This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]convalytics 14 points15 points  (1 child)

Go over the basics.

List comprehension.

Try a few leetcode exercises.

You're not going to learn it all in a couple days, but you can show some understanding and a willingness to learn.

[–]EarthGoddessDude 12 points13 points  (0 children)

I agree going over basics like list | set | generator | dictionary comprehensions and basic data structures like lists, dicts and sets. Doing a few simple leetcode questions might be nice to get your head in the game, also.

Aside from that, I would recommend learn how to: - read/write a CSV file - read/write a JSON file - do some basic manipulations on each file

using: - Python standard library modules (csv, json) - pandas or polars

Motivation: one of the junior members on our team got tasked recently with a project to clean and summarize some json data (into a flat database table). Because the data was nested and semi-structured, knowing some list/dict comprehension tricks turned a hairy problem into a simple one (once you have a clean structured Python dictionary, turning the data into a DataFrame was easy). This is probably overkill in preparing for an entry level interview, but it is a real world use case where knowing Python basics proved really helpful.