convert list to dataframe and assign columns python code example
Example: how to convert a list to dataframe in python
import pandas as pd
from pandas import DataFrame
df = DataFrame(lst,columns=['num'])
import pandas as pd
from pandas import DataFrame
df = DataFrame(lst,columns=['num'])