create_pandas.py - lotteph/tweedejaarsproject GitHub Wiki
Create pandas
A file which processes the csv information into handleble data. This is called upon from the main file.
Make pandas
This is a function which combines all feature information form the solar panel csv and the weather csv into one panda by adding information from one csv to the panda of the other. It has the solar and weather csv as input and returns the panda.
Create weather pandas
Takes all the files from either the train or test folder and returns a panda of the results and another panda of all the feature information and the offset. Using the postal codes found in the file names, it combines all the files into one big panda and calculates the offset accordingly.
Create postal codes
Takes all the files from either the train or test folder and returns the dictionary and an array containing all postal codes. This is done by extracting the first and last four digits from the file names and adding these to the dictionary.