saving . . . saved Not able to load the data has been deleted. Not able to load the data has been hidden .
Not able to load the data
Title
Question
 I am getting this error while loading the file. I have downloaded the file 

cat primes.txt
  File "<ipython-input-11-b296f9e207f4>", line 1
    cat primes.txt
        ^
SyntaxError: invalid syntax

Python loading-data-from-files 00-01 min 0-10 sec 22-04-20, 12:37 p.m. gandharv1597663212823

Answers:

cat is a command used to display the content of the files in linux. In windows cat command will not work. Kindly open the file manually using Notepad or any available text editor. OR you can also use !type primes.txt
22-04-20, 2:40 p.m. ankitrj.iitb


<span style="color: rgb(51, 51, 51); font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; white-space: pre;">load data from file single column multiple columns separated by delimiter cat command loadtxt() columns separated by spaces columns separated by semi-colon unpack argument delimiter argument three columns of data</span>
22-04-20, 3:39 p.m. arunprasadchamy@gmail.com


<span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">file</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> "</span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">data</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;">.txt" </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">not</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> avaiable </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">in download</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> section, can't show the execution of the </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">file</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;">. ... cat primes.txt giving </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">error</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> says </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">invalid</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> syntaxi </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">have</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> copy and paste the text </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">file in</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> ... cat command </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">not</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> working. how to </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">load</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;">text </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">file</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;">. give </span><span style="font-weight: bold; color: rgb(106, 106, 106); font-family: arial, sans-serif; font-size: 14px;">file</span><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: 14px;"> name including path as an example ...</span>
22-04-20, 3:41 p.m. arunprasadchamy@gmail.com


Log-in to answer to this question.