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


Messages In This Thread
Filling NaNs in a financial dataset - by larzz - Jun-01-2023, 09:40 PM
RE: Filling NaNs in a financial dataset - by larzz - Jun-03-2023, 10:51 AM
RE: Filling NaNs in a financial dataset - by larzz - Jun-04-2023, 07:56 AM
RE: Filling NaNs in a financial dataset - by larzz - Jun-04-2023, 06:11 PM
RE: Filling NaNs in a financial dataset - by larzz - Jun-05-2023, 12:09 PM
RE: Filling NaNs in a financial dataset - by larzz - Jun-06-2023, 08:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to extract financial data from photocopy of document angela1 6 3,828 Feb-15-2020, 05:50 PM
Last Post: jim2007
  Financial Modeling MarkHaversham 2 4,837 Feb-11-2020, 10:55 AM
Last Post: Mikhail_Shi
  Google Financial Client ian 7 6,449 Sep-21-2017, 07:23 PM
Last Post: Larz60+
  Filling in missing values melm0 4 5,345 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