Python, Pandas, Data Science, Machine Learning, Pandas Dataframe.
.loc method for accessing a single element. %timeit df.loc[987987, "Name"] #5.05 µs ± 33.3 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) %timeit df.at[987987, "Name"] #2.39 µs ± 23.3 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) Swifter Swifter is a Python package that