Re: Loading CSV Data in Model

2021-04-29 Thread Franck Tchouanga
To load a csv file in python you use * pd.read_csv('your file', index_col=0) . * *So you need to use the library pandas.* *Hope it helps.* On Thu, Apr 29, 2021 at 3:23 PM 'Muhammad Asim Khaskheli' via Django developers (Contributions to Django itself) < django-developers@googlegroups.com> wrote:

Re: Loading CSV Data in Model

2021-04-29 Thread Franck Tchouanga
*import pandas as pd* *data = pd.read_csv('your file', index_col=0)* On Thu, Apr 29, 2021 at 3:51 PM Franck Tchouanga wrote: > To load a csv file in python you use * pd.read_csv('your file', > index_col=0) . * > > *So you need to use the library pandas.* > &g