Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sub slicing in a dataframe
#1
I have a dataframe. I extracted a particular value say 19990102 using df2.iloc[0,2].

However, I want to make a loop to check the month in the above has value 01. I want to extract 01 in it and check further.

(The column is integer type)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slicing dataframe as series vs. dataframe? Mark17 0 1,355 Aug-19-2021, 04:25 PM
Last Post: Mark17

Forum Jump:

User Panel Messages

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