While I'm still learning Python, I'm just baffled by this one. This while loop gets the error: "AttributeError: 'list' object has no attribute 'empty'" and I cannot figure out why. Your help is appreciated.
import pandas as pd
import numpy as np
tickData = pd.DataFrame([])
print (tickData.empty)
while tickData.empty:
tickData
tickData = [1,2,3]
print (tickData)
print (tickData)
tickDatafrom a dataframe to a list withtickData=[1,2,3], which doesn't support.empty.emptymethod