8

I believe a moderator has made a mistake in his moderation of this answer:

Pandas cannot open an Excel (.xlsx) file

The answer is similar to this one:

https://stackoverflow.com/a/65266270/216229

...but I have actually already done what he has requested: you'll note the suggested code change is different for each of the different answers. I'm afraid this answer cannot be tailored any more, since the rest of the answer is genuinely the same.

For background, I'm the maintainer of the package emitting these errors, and I'm already working with the Pandas folk to make their package emit clearer instructions when this code path is hit.

8
  • 10
    Looks like you posted duplicate answers which triggered the mod flag... which also means the question is highly possible a duplicate and should be closed instead of answered.
    – Andrew T.
    Dec 13, 2020 at 17:59
  • 10
    When solutions are basically the same why wouldn't you vote to close one and point at answer in the other?
    – charlietfl
    Dec 13, 2020 at 18:00
  • 2
    Relevant: Answering “borderline duplicate” questions Dec 13, 2020 at 18:06
  • 1
    @charlietfl - because I don't use stackoverflow that much, I just maintain python libraries ;-) Dec 13, 2020 at 18:32
  • 2
    @AndrewT. - you are correct, I've now flagged the lower quality question as a duplicate, unfortunately my answer was deleted on the higher quality question. Dec 13, 2020 at 18:32
  • 8
    There was an automatic duplicate-answer flag raised by the system on the answer which was deleted. It was raised at the same time the answer was posted. That means the system saw a version which was identical to the other answer. Given that there's no other version recorded for the answer that was deleted, that implies you saved an initial version and then made a grace period edit to update the code in the answer which was deleted. Given that the edit was a grace period edit, there would have been no notation in the flag handling UI that the post had been edited.
    – Makyen Mod
    Dec 13, 2020 at 20:12
  • 1
    @Makyen - that sounds like exactly what happened - the first part of the answer is identical, so I copied the source, must have accidentally hit save, but then edited it to change the advice to tailor it for that specific question. How can I get this answer undeleted? (even if it means deleting the other answer...) Dec 13, 2020 at 20:23
  • Looks like this has been un-deleted, so thanks to whoever that was! Dec 13, 2020 at 20:32

1 Answer 1

13

That is an unfortunate delete.

You did indeed tailor both of these answers to their questions. Based on the timeline none of those answers have been in a recorded state where they were the same. As it turns out by a comment from Makyen the moderators attention was brought to those answer due to an automatic flag that was immediately raised when you submitted the identical answer that you then edited in the grace period to its current state.

I can't judge for 100% if the questions are duplicate but no-one yet found that the case as no close votes in that direction had been fired at the time of writing. (A duplicate vote has been cast by the OP now).

In my opinion the answer shouldn't have been deleted. A moderator flag on the answer should be raised, explain the case and ask for un-deletion. Linking to this meta post might help in that case. You'll find the flag link directly under your answer, next to share, edit, follow and (un)delete. Click it and select in need of moderator intervention. Use the presented textbox to its full capacity (iow elaborate).

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .