this entry collects the solution files i have for create a dataframe from list. i may expand it with a fuller write-up later, but the implementation files are already here.
available solution files
- Python
create-a-dataframe-from-list/solution.py
notes and solution files for create a dataframe from list.
this entry collects the solution files i have for create a dataframe from list. i may expand it with a fuller write-up later, but the implementation files are already here.
create-a-dataframe-from-list/solution.pyimport pandas as pd
from typing import List
def createDataframe(student_data: List[List[int]]) -> pd.DataFrame:
df = pd.DataFrame(student_data, columns=[class="syntax-string">'student_id', class="syntax-string">'age'])
return df