I know how to create a simple dataframe from this example:
import pandas as pd
data = [['tom', 10], ['nick', 15], ['juli', 14]]
df = pd.DataFrame(data, columns = ['Name', 'Age'])
df
but how do I make it so that the data is from these lists/arrays, which I have previously declared:
station_lon = df['STAT_LON'].values
station_lat = df['STAT_LAT'].values
adjres (list) residuals (list)