You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pivot the table so that the data is in the following format shown in the table below.
Insert the clean data into the database as "StateSpendingTable"
date
account num
revenue
expendenture
01-01-2020
123456
123456
123456
01-02-2020
123456
123456
123456
Insert the clean data into the database as "StateSpendingTable"
Note
You Might need to do 2 pivot one for revenues and one for expenses. Then merge them using the account number (the account number is the column name. Example you have the column name r123. r would indicate revenue and 123 would be the account number.
The text was updated successfully, but these errors were encountered:
Objective
Create a method that will read the data in the
.csv
containing the historical data then insert it to the database..csv
using polarsNote
You Might need to do 2 pivot one for revenues and one for expenses. Then merge them using the account number (the account number is the column name. Example you have the column name
r123
.r
would indicate revenue and123
would be the account number.The text was updated successfully, but these errors were encountered: