User Tools

Site Tools


convert_a_dictionary_of_dataframes_to_a_big_dataframe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
convert_a_dictionary_of_dataframes_to_a_big_dataframe [2022/03/19 03:19] adminconvert_a_dictionary_of_dataframes_to_a_big_dataframe [2023/01/01 15:51] (current) – [Task] raju
Line 1: Line 1:
 ===== Convert a dictionary of dataframes to a big dataframe ===== ===== Convert a dictionary of dataframes to a big dataframe =====
 ==== Task ==== ==== Task ====
-Given a dictionary strings to dataframes, create an expanded dataframe by putting the keys into their own column. For example, given+Given a dictionary of strings to dataframes, create an expanded dataframe by putting the keys into their own column. For example, given
 <code> <code>
 {'COST':    fiscal_quarter_end  reported_date {'COST':    fiscal_quarter_end  reported_date
Line 175: Line 175:
  
 ==== Ref ==== ==== Ref ====
-  * https://stackoverflow.com/questions/56638413/how-to-create-a-pandas-dataframe-from-dictionary-of-dataframes - where I first came across this solution. I just put the solution in a function, used a better example and showed the intermediate steps on the solution works.+  * https://stackoverflow.com/questions/56638413/how-to-create-a-pandas-dataframe-from-dictionary-of-dataframes - where I first came across this solution. I just put the solution in a function, used a better example and showed some intermediate steps on how the solution works.
convert_a_dictionary_of_dataframes_to_a_big_dataframe.1647659983.txt.gz · Last modified: 2022/03/19 03:19 by admin