Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

DS- Python | Apr 10 - May 12 | Naman

Vipin Narayane(3356)

Member
Alumni
Hi Having following few queries


Trying to load Data from CSV, using following code

path_To_ServiceRequest='311_Service_Requests_from_2010_to_Present.csv'
DF_ServiceRequest=pd.DataFrame.from_csv(path_To_ServiceRequest,index_col=None)

1. Getting following errors/warning
/usr/local/lib/python3.4/dist-packages/ipykernel_launcher.py:3: FutureWarning: from_csv is deprecated. Please use read_csv(...) instead. Note that some of the default arguments are different, so please refer to the documentation for from_csv when changing your function calls
This is separate from the ipykernel package so we can avoid doing imports until
/usr/local/lib/python3.4/dist-packages/IPython/core/interactiveshell.py:2850: DtypeWarning: Columns (48,49) have mixed types. Specify dtype option on import or set low_memory=False.
if self.run_code(code, result):

2. Getting NAN for columns :Bridge Highway Name,Bridge Highway Direction, Road Ramp,Bridge Highway Segment, Garage Lot Name,Ferry Direction,Ferry Terminal Name

3. Showing '...' between cols Incident Address ... Bridge Highway Name, are their any cols between the cols? if yes then how can we see all those columns of csv or any other source data?

upload_2018-5-2_10-34-25.png
 
Top