The loc currently has a tag wiki excerpt that reads:
For questions concerning Lines of Code.
There are 306 questions tagged loc, but it currently appears to mean at least 3 different things:
pandas loc indexer
The vast majority (around 270 questions) seem to be in reference to the pandas indexer loc which is used for label based indexing in pandas DataFrames and Series.
Lines of Code
The remaining 40ish questions do appear to be mostly about "lines of code" in various different contexts.
Other
There are also a few questions which appear to be unrelated to either of the above definitions. Like How would I change a loc to a sub IDA Pro? which uses loc to mean an address or location. Also How to make the main axes transparent, while make the zoomed_inset_axes not transparent in matplolib which uses loc to mean the loc
parameter of mpl_toolkits.axes_grid1.inset_locator.zoomed_inset_axes
Is the "Lines of Code" definition meaningful enough to keep as a tag? If yes, should it be renamed to be more clear what it represents? If no, should it be removed or should the guidance be updated to reflect the pandas loc as the primary usage for loc?
Alternatively should a new tag like pandas-loc be created for pandas loc similar to the existing pandas method tags pandas-groupby and pandas-melt?
loc
indexer questions are using the wrong tag is an objective problem that should be fixed (and as 20k+ users we have the ability to create new tags and tag descriptions without needing assistance, in order to get started). I would recommend not retagging more than 5 to 10 questions per day, to avoid overwhelming the front page and anyone watching the pandas taga^2 = b^2 + c^2 - 2(b)(c)(cos(theta))
, but I don't think the Law of Cosines would be appropriate for Stack Overflow{
between an if and the body). Or using tools that do loc counts. (Questions about the relevance of loc as a software metric probably aren't programming questions in the sense that SO defines it, though; possibly on-topic at softwareengineering.SE.) Obviously the [lines-of-code] tag wouldn't apply to ever question that has lines of code in it. It seems pretty niche, for sure.