#Import error > reinstall python 2.7
Create an empty dataframe
df = pd.dataframe()
Find index from a cell value
df.index[df["test"] == "1234"].values
> return ndarray
{{{df["test"] == "1234" }}} is an condition, must specify df in front of the column
Create an empty dataframe
df = pd.dataframe()
Find index from a cell value
df.index[df["test"] == "1234"].values
> return ndarray
{{{df["test"] == "1234" }}} is an condition, must specify df in front of the column
Comments
Post a Comment