Python Forum
Confusion in exact term used for ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Confusion in exact term used for ?
#1
import pandas as pd
diSales= { 2016:{'qtr1':34500,'qtr2':56000,'qtr3':47000,'qtr4':49000},
           2017:{'qtr1':44900,'qtr2':46100,'qtr3':57000,'qtr4':59000},
           2018:{'qtr1':54500,'qtr2':51000,'qtr3':57000,'qtr4':58500},
           2019:{'qtr1':61000}
         }
df = pd.DataFrame(diSales)
ks = df.count()
print(ks)
in above example i am using name df, ks but what exact term i will use for that: variable or object ?

are df and ks variables or anything ? plz clarify me
Reply


Messages In This Thread
Confusion in exact term used for ? - by ift38375 - Jul-22-2019, 07:54 AM
RE: Confusion in exact term used for ? - by buran - Jul-22-2019, 08:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question in this code, I input Key_word, it can not find although all data was exact Help me! duchien04x4 3 1,172 Aug-31-2023, 05:36 PM
Last Post: deanhystad
  The term 'pip' is not recognized as the name of a cmdlet, function michaelnicol 1 738 Jul-16-2023, 11:12 PM
Last Post: deanhystad
  Sum of changing general term Vantin19 2 779 Apr-04-2023, 08:22 AM
Last Post: Gribouillis
  matrix multiplication term by term karolina 1 887 Dec-10-2022, 10:11 AM
Last Post: Gribouillis
  Matching Exact String(s) Extra 4 2,031 Jan-12-2022, 04:06 PM
Last Post: Extra
  Long-term stable source to get news headlines with Python? sandufi 4 2,065 Dec-23-2021, 09:48 AM
Last Post: sandufi
  replace exact word marfer 1 6,436 Oct-11-2021, 07:08 PM
Last Post: snippsat
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,437 Feb-24-2021, 10:43 PM
Last Post: nilamo
  Exact Match Kristenl2784 2 3,039 Jul-26-2020, 03:29 PM
Last Post: Kristenl2784
  Two exact "Fors" giving me different results? FilGonca 2 2,128 May-04-2020, 12:36 PM
Last Post: FilGonca

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020