Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sab786

hey does anyone know if there are any modules that i can download that if i feed in x, y values i can make correlation plots and other types of graphs Thanks

Member Avatar for sab786
0
87
Member Avatar for sab786

hi all, i still cant get myself out in my previous thread i wrote that i wanted to carry out a random sample function on an entire file.. now what i wish to do is read a file use a dictionary to search lines and then get this lines and …

Member Avatar for willygstyle
0
145
Member Avatar for sab786

ok so my code is as follows: [ICODE]read=open('mon_17.py','r') reader=read.readlines() a=[] for line in reader: reader1=[] for i, entry in enumerate(line.split()): if i in range(0,4)+[6]: reader1.append(int(entry)) else: reader1.append(float(entry)) #float the 2 purity values only at this point #reader1=map(float,line.split())#this was made everthing diff made all floats a.append(reader1) a.sort(lambda x,y:cmp(x,y)) read.close() match={} for …

Member Avatar for woooee
0
94
Member Avatar for sab786

Hi all,:'( his for over a week now i cant get my head round it so i hope some one can help me... i have a dictionary which reads my file line by line and counts the occurance of tuples ...ok great. then for every key in my dictionary (which …

Member Avatar for woooee
0
205
Member Avatar for catcit

Hello! I`m new here and I hope you could help me. I have to make o program that takes an excel file, counts the number of columns and extracts only two columns from the file and prints them in a .txt file. The number of the columns are inserted from …

Member Avatar for sab786
0
116
Member Avatar for sab786

hi i am really stuck now i hope someone can help ok so i have read in a file i have created a dictionary which reads every line and counts how many matches there are compare={} for matching in line: matched =( matching[3],matching[7])

Member Avatar for sab786
0
110
Member Avatar for sab786

hi all... ok so i have a file and what i wish to do is read all the lines usilng readline() then for everyline i need to read and match lines and form groups. how i need to do this is that say for example... line[0] match move to line[3] …

Member Avatar for gnujohn
0
87
Member Avatar for tomtetlaw

I want to sort a dictionary, say that it was like this: [code] a_dict = {'2':12354, '1':12355432, '4':35342, '3':858743} [/code] How would I be able to sort it so it's like this: [code] a_dict = {'1':12355432, '2':12354, '3':85874, '4':35342} [/code] Is there any algorithms already built it? Or do i …

Member Avatar for scru
0
106
Member Avatar for sab786

SORRY I THINK I ADDED THIS TO SOMEONE ESLE THREAD B4 Ok so i have a file which i read in ... then i read the data line by line and create lists basically i needed to organsise(sort the data, in numerical order which i can do no problem and …

Member Avatar for woooee
0
79
Member Avatar for sab786

i have the following snip of data from i file i read in: li=[[4, 27, 6, 22, 0.81186094, 1.12214581, 2], [1, 9, 22, 28, 0.69887889, 0.989934, 2], [4, 27, 100, 30, 0.74796748, 1.04485376, 2], [6, 27, 22, 31, 0.91040724, 1.26681591, 2], [4, 1, 30, 45, 0.485223, 0.77061901, 2], [8, 27, …

Member Avatar for sab786
0
125
Member Avatar for sab786

can anyone help please? i have a snip of my file below can the the numbers be sorted as in excel? 27 4 220 16 0.76151102 1.06059456 27 4 220 17 0.61465055 0.90107796 27 4 221 22 0.81186094 1.12214581 27 4 223 28 0.69887889 0.98993400 27 4 225 30 0.74796748 …

Member Avatar for bumsfeld
0
88
Member Avatar for sab786

hello i have some data which i read in and wish to carry out some functions with it and format it into a new output file. however on my input data i need to do different things dependind were my data is for example def some_function(list): does something does something …

Member Avatar for baki100
0
84