• 7 Posts
  • 62 Comments
Joined 3 years ago
cake
Cake day: January 13th, 2022

help-circle
  • It’s a tool that summarizes data from a CSV file and gives the summary. here is an output ```

    • Price * Total Price Extracted: 5 Sum: 160.5$ Average: 32.1$ Top 10 Price:-
    1. Charlie Davis: 50.0$, Amount: 50.0
    2. Bob Brown: 40.0$, Amount: 160.0
    3. Jane Smith: 30.0$, Amount: 150.0
    4. John Doe: 25.5$, Amount: 76.5
    5. Alice Johnson: 15.0$, Amount: 30.0
    • Cost * Total Cost/Amount: 466.5$

    • Quantity * Total Quantity Extracted: 5 Top 10 Quantity:-

    1. Jane Smith: 5
    2. Bob Brown: 4
    3. John Doe: 3
    4. Alice Johnson: 2
    5. Charlie Davis: 1
    • Rate * Total Rate Extracted: 5 Top 10 Rate:-
    1. John Doe: 5, Value: 600.0
    2. Jane Smith: 4, Value: 600.0
    3. Bob Brown: 3, Value: 540.0
    • Score * Total Score Extracted: 5 Top 10 Score:-
    1. Alice Johnson: 92
    2. Jane Smith: 90
    3. Charlie Davis: 88
    4. John Doe: 85
    5. Bob Brown: 75
    • Weight * Total Weight Extracted: 5 Sum: 95.0 Average: 19.0 Top 10 Weight:-
    1. Charlie Davis: 95.0
    2. Bob Brown: 80.0
    3. John Doe: 72.5
    4. Jane Smith: 60.0
    5. Alice Johnson: 55.0
    • Size * Total Size Extracted: 5 Sum: 16 Average: 3.2 Top 10 Size:-
    1. Jane Smith: 18
    2. Charlie Davis: 16
    3. John Doe: 15
    4. Bob Brown: 14
    5. Alice Johnson: 12






  • Assuming you’re coming from a linear programming and OOP background, then data (incl. SQL) kinda sucks because it’s not always clear how to apply existing concepts. But, doing so is absolutely critical to success, perhaps more so than in most OOP environments. Your post isn’t funny to me because I’d be laughing at you, not with you.

    That’s correct, I have done a lot of OOP in Java and C#, and the internship I’m doing is with C# and ASP.Net.

    If a variable is fucked, the first questions you should answer are, “Where’d it come from?” and “What’s its value along the way?”. That looks a lot different in Python than SQL. But, the troubleshooting concept is the same.

    You see, I wasn’t thinking clearly at the time, wasn’t looking at the right place, and like the post says, I’ve finally looked at the right place and made me feel frustrated. The frustration was at myself not at programming.