Python Forum
Filling NaNs in a financial dataset
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Filling NaNs in a financial dataset
#11
(Jun-05-2023, 01:44 PM)snippsat Wrote:
(Jun-05-2023, 12:09 PM)larzz Wrote: I have a bigger file that isn't allowed to be uploaded through this site so I did it like this:
You missed the point,you should post code that you use to create merged_df_nan.
Also working code for function average_col(merged_df_nan) using sample.xlsx that you have posted.
(Jun-05-2023, 12:09 PM)larzz Wrote: https://file.io/cNtj51B5Tswo
Link dos not work.
But it isn't relevant how I created the merged_df_nan right? I mean, it doesn't change anything about the code that needs to be changed. The link for merged_df_nan is https://www.mediafire.com/file/8hqk0h5vy....xlsx/file (hopefully it does work now). The code I posted in my first post does work for the sample, but it takes too long and there might be mistakes when I upscale it, but I don't know because it is too slow to find out.
Reply
#12
(Jun-06-2023, 08:31 PM)larzz Wrote: But it isn't relevant how I created the merged_df_nan right?
Of course it relevant that is the missing piece to get code to work.
Can not suggest anything if not have working code.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to extract financial data from photocopy of document angela1 6 3,718 Feb-15-2020, 05:50 PM
Last Post: jim2007
  Financial Modeling MarkHaversham 2 4,794 Feb-11-2020, 10:55 AM
Last Post: Mikhail_Shi
  Google Financial Client ian 7 6,376 Sep-21-2017, 07:23 PM
Last Post: Larz60+
  Filling in missing values melm0 4 5,299 Aug-09-2017, 03:59 PM
Last Post: radioactive9

Forum Jump:

User Panel Messages

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