loading data from files - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- Python Tutorials - English
-
cat command don't work
in window cat primes.txt don't worki tried !type primes.txt, %cat primes.txt, %pycat primes.txtC:\Users\pooja\Downloads\loading-data-from-file.zip\primeloadtxt('C:\Users\pooja\Downloads\loading-data-from-file.zip\primes')
04-05M 0-10S poojakumarr7@gmail.com
Answer last updated on: Oct. 26, 2020, 9:42 a.m.
-
code files
code files are not attached . hence cant load data from files
01-02M 20-30S rekhaacp
Answer last updated on: Sept. 7, 2020, 9:41 p.m.
-
Cat command
Cat command gives invalid syntax error when run cat primes.txt
00-01M 0-10S shanuvermaech@gmail.com
Answer last updated on: June 9, 2020, 5:46 p.m.
-
cat command
Showing error while using cat command,which path should be given to load a data from prime.txt files.Please give the solution for windows.
01-02M 20-30S archanapahir@gmail.com
Answer last updated on: May 22, 2020, 3:20 p.m.
-
Not able to load the data
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
00-01M 0-10S gandharv1597663212823
Answer last updated on: April 22, 2020, 3:41 p.m.
-
Unable to do Exercise 1
where to create and than how to give path in loadtxt function to solve Exercise 1? Not able to do it.
05-06M 10-20S yogip
Answer last updated on: April 18, 2020, 9:12 p.m.
-
error on loadtxt command
pend=loadtxt("D:\\pendulum.txt") NameError Traceback (most recent call last)<ipython-input-11-49371f9855ea> in <module>----> 1 pend=loadtxt("D:\\pendulum.txt")NameError: name 'loadtxt' is not defined
05-06M 50-60S spoken-tutorial.mcet
Answer last updated on: June 22, 2019, 4:09 p.m.
-
Loading of files
The content of prime.txt file is pure integers which are saved as text file...Why the numbers when displayed are in float ?????
02-03M 30-40S Krishnendu_HVM
Answer last updated on: June 22, 2019, 3:58 p.m.
-
cad command
i used cad command but it is not running
01-02M 10-20S abhijeet26691
Answer last updated on: June 22, 2019, 3:09 p.m.
-
python 3.6.8
when i entered prime = loadtext('C:\\Users\\admin\\Desktop\\Pritesh-7-Python\\primes.txt') interpreter says syntax error: (unicode error) 'unicodeescape codex cant decode bytes in position 2-3: truncated\\UXXXXXXXX escape'
02-03M 10-20S iampritesh
Answer last updated on: June 22, 2019, 2:11 p.m.
-
Cat and Primes command are not working
Cat command is not working, it is showing error "NameError: name 'cat' is not defined". While during Prime it is showing "OSError: home/fossee/primes.txt not found"
01-02M 10-20S naveenrajput
Answer last updated on: June 22, 2019, 12:55 p.m.
-
Using cat command for diplayin prime numbers in python 3.6.8
cat primes.txt is showing invalid syntaxC:\\Users\\Sadia Patka>ipythonPython 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)]Type 'copyright', 'credits' or 'license' for more informationIPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.In [1]: %pylabUsing matplotlib backend: TkAggPopulating the interactive namespace from numpy and matplotlibIn [2]: cat primes.txt File "<ipython-input-2-b296f9e207f4>", line 1 cat primes.txt ^SyntaxError: invalid syntax
01-02M 10-20S SadiaPatka
Answer last updated on: May 25, 2019, 4:44 p.m.
-
Reading Primes.txt file
i coudnot read the file primes.txt evnthough i having the txt in correct path?
03-04M 10-20S vaduganathan
Answer last updated on: May 25, 2019, 3:42 p.m.
-
The type of file with 2 column data
The format of file pendulum.txt with 2 column is unclear. I made .txt file using notepad. For a single column file it worked fine, but what does a 2 column data in .txt format mean? When I try to read these 2 column file I get an error saying no such file or directory.
02-03M 40-50S steffy
Answer last updated on: March 23, 2015, 12:42 p.m.
-
1Getting started with ipython
-
2Using the plot command interactively
-
3Embellishing a plot
-
4Saving plots
-
5Multiple plots
-
6Additional features of IPython
-
loading data from files
-
8Plotting the data
-
9Other types of plots
-
10Getting started with sage notebook
-
11Getting started with symbolics
-
12Using Sage
-
13Using sage to teach
-
14Getting started with lists
-
15Getting started with for
-
16Getting started with strings
-
17Getting started with files
-
18Parsing data
-
19Statistics
-
20Getting started with arrays
-
21Accessing parts of arrays
-
22Matrices
-
23Least square fit
-
24Basic datatypes and operators
-
25I O
-
26Conditionals
-
27Loops
-
28Manipulating lists
-
29Manipulating strings
-
30Getting started with tuples
-
31Dictionaries
-
32Sets
-
33Getting started with functions
-
34Advanced features of functions
-
35Using python modules
-
36Writing python scripts
-
37Testing and debugging
Questions posted on ST Forums:
9006 visits
Outline:
loading data from files loadtxt with unpack=True primes.list (one col) pendulum.txt (two col)
Width: | 672 | Height: | 496 |
---|---|---|---|
Duration: | 00:09:00 | Size: | 4.6 MB |
Show video info