How do I remove a Empty DataFrame, columns, and index line?
Here is my code:
df = pd.read_csv(filename)
print(df)
if df.empty:
print("There is no data availale.")
Here are my results:
Empty DataFrame
Columns: [Date, Time, Name]
Index: []
There is no data availale.
I want those results to be just:
There is no data available.