Junior Vasquez
asked on
Python/Pandas Barchart label
using the below code, i'm getting the ordinal positions for the barchart produced instead of the column names from the .csv(dataframe) i can't figure out how to get to column names into the chart
import pyodbc
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
df = pd.read_csv('c:/python/inc idents_his t.csv')
dfdf.plot.bar()
import pyodbc
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
df = pd.read_csv('c:/python/inc
dfdf.plot.bar()
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you upload a small sample CSV file?