generate functionSun, 11 Dec 2022
csvファイルを読み込む時に、指定した列を文字列として読み込む
def read_csv(file, cols): with open(file, "r") as f: reader = csv.reader(f) rows = [row for row in reader] return [str(row[col]) for row in rows]
Python
Generate MoreGeneration
csvファイルを読み込む時に、指定した列を文字列として読み込む
def read_csv(file, cols): with open(file, "r") as f: reader = csv.reader(f) rows = [row for row in reader] return [str(row[col]) for row in rows]
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description