Questions tagged [manipulate]

Do not use. This tag has been used for anything and everything. Disambiguation required.

33 questions
-1
votes
1 answer

How can i strip strings on Python?

How can i strip the string below?(I just want to create a column to show city and state,you can see the city and state's name after \n) df['Address'] array(['208 Michael Ferry Apt. 674\nLaurabury, NE 37010-5101', '188 Johnson Views Suite…
EK.
  • 3
  • 1
-2
votes
2 answers

How to manipulate values in a dataframe column at specific times for each day within the dataframe

So, I have a datetime indexed dataframe that looks like this: eventTime Energy Power RunningHours 9/29/2018 0:00 146.985 65 2256.88 9/29/2018 1:00 147.05 64.5 2257.87 9/29/2018 2:00 147.116 65 2258.87 9/29/2018 3:00 147.181 65 …
pynoob
  • 41
  • 5
-5
votes
1 answer

Working with Pandas Dataframes - manipulate data

i was trying to find out the solution by myself but unfortunately couldn't succeed. -> i have a scientific dataset with 12 columns representing 4 different monitoring stations and each station measures 3 different kind of pollutants. the data…
1 2
3