Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta

Python (Need help on coursework) watch

Announcements
    • Thread Starter
    Offline

    0
    ReputationRep:
    Hello , I need help on my coursework. Hope someone can point me in the right direction.

    I'm trying to sort my data which is written in excel file in alphabetical order and the score to be presented as highest to lowest but this is for my school work , therefore I'm not sure if I'll be able to use any external packages. I would like some help on what to do as i searched everywhere and got no answer. I would be appreciated if anyone can point me out the direction i need to go at.
    Example of data in my excel file.

    Name Surname Score
    Ketan janaa 3
    Example janaa 9
    Example2 janaa 0
    Example3 janaa 10

    These details were written using a python code i created.
    Thanks
    Offline

    20
    ReputationRep:
    You could save the Excel file as a csv and then use the built in csv module to read it.
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: January 11, 2015
Poll
Do you agree with the proposed ban on plastic straws and cotton buds?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.