saving . . . saved Fetching data from text file has been deleted. Fetching data from text file has been hidden .
Fetching data from text file
Title
Question
cat file1.txt   this command is file with number as well as strings
but s=loadtxt("file1.txt") this command is fine only if data is number in file1.txt.  In case of strings/text this command is not working? 

Python-3.4.3 Loading-Data-From-Files 02-03 min 20-30 sec 22-06-19, 4:44 p.m. skapuria

Answers:

"loadtxt" is specific for loading numeric data and not strings.
22-06-19, 4:53 p.m. iakashchavan


Log-in to answer to this question.