file "data.txt" not avaiable in download section, can't show the execution of the file...

Spoken\r\nTutorial, IIT Bombay

\r\n\r\n

http\r\ns://spoken-tutorial.org

\r\n\r\n

Python\r\n3.4.3

\r\n\r\n

Loading\r\nData From Files -Assignments

\r\n\r\n

Assignment-2


2. Given a file \u201cdata.txt\u201d with three columns of data separated by\r\nspaces. Read it into 3 separate simple

sequences.

Answer \u2013

// sorry, can\u2019t show the\r\nexecution as the file is not available in the download section.

x = loadtxt("C:/Users/Administrator/Desktop/gaurav patni IIT\r\nBombay

     ...:  Tutorials 22 june 2019/data.txt",unpack=True)

 

print (x)

 

3. Given a file \u201cdata.txt\u201d with three columns of data separated by \u201c:\u201d.\r\nRead it into 3 separate simple

sequences.

Answer \u2013

// sorry, can\u2019t show the\r\nexecution as the file is not available in the download section.

x = loadtxt("C:/Users/Administrator/Desktop/gaurav patni IIT\r\nBombay

     ...:  Tutorials 22 june 2019/data.txt",unpack=True,\r\ndelimite

     ...: r=":")

 

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n

print (x)


Python-3.4.3 Loading-Data-From-Files 00-01 min 50-60 sec 22-06-19, 5:37 p.m. gauravpatni

Answers:

Unfortunately, we are unable to comprehend your query due to the formatting , please provide a screenshot or an error message to help us understand the issue
18-04-20, 9:21 p.m. ankitrj.iitb


Click here to reply/comment online