See - Strings Review
- How to
partitiona string? when is this useful? What's the difference ofpartitionfrom asplit? - What is the use of
reversedkeyword on a list? - How to append a comma after every element of the number "0 1 2 4 5"?
- What are character testing methods in string class?
- How to format a money value with comma?
See - Regex Practice
- How to use the
remodule in python, what are the commonly used functions? - How to find exact match?
- What is the difference between
searchandmatchfunctions? - What are the regex meta-character classes?
- How to perform substitution actions using regex functions? How to make it selective?
- Can regex module be used to search case-insensitive? What's given along with the search expression to achieve this?
- Why is
findallused? - What is the difference between
findallandfinditer - how to capture subgroups in regex?
See - Pandas RegEx
- data munging = data cleaning
- Two common operations: data cleaning, data transformation
- Can RegEx be used in pandas Series? What is the difference between
matchandcontains? - How to apply regex on dataframes to replace a column with different format?
see - Files Review
- What is the use of
withstatement in resource management? Can it only be used with files? - How to create a new file and append data in python?
- What is the use of
sysmodule in python? - How to remove a file in python from disk? On the same line, how to rename a file?
- what is the difference using
readlinesin python vs using an iterator to read one line at a time? - What is the difference using
split(" ")vssplit()default while splitting a line? - What are the file open modes in python ? (Hint - There are six of them)
See - JSON Review
- What is the difference between
json.dump()andjson.dumps()method? - What is the use of
json.load? - How to pretty-print contents of a file containing json objects?
csvmodule is used, many libraries also support CSV processing- How to read and write to csv using this module?
- How to create csv from pandas dataframes, how to read a csv file into pandas dataframe?