Skip to main content
Himanshuman's user avatar
Himanshuman's user avatar
Himanshuman's user avatar
Himanshuman
  • Member for 5 years
  • Last seen more than a month ago
About

Using data to find solution to the problem, formulate stories to communicate the findings.

Learning for Knowledge

If you downvote one of my questions/answers, please leave a rational explanation(feedback).


Contact me on:

import pandas as pd
print(''.join(pd.Series([109,111,pd.np.nan,99,46,108,105,97,109,103,64,114,97,100,100,111,112,117,104,115,110,97,109,105,104,114,101,116,115,97,109]).dropna().astype(int)[::-1].map(chr)))

Something for all the noobs out there to keep in mind :

  1. Don't use floating point numbers until absolutely necessary. FloatingPointNumberN != FloatingPointNumberN

  2. Don’t be lazy. Do things the right way even if it’s a lot of work.

  3. Don’t give up on something just because you’re stuck. You’ll figure it out eventually.

  4. Always track down the root cause of a bug. If a bug just “goes away”, it hasn’t. If you can’t explain what fixed the bug, it isn’t.

  5. Write unit tests. It may seem unnecessary and a like lot of work, but it will help you in the long run. See point 1.

  6. Best practices are best practices for a reason. Don’t assume that your approach is better just because it’s what you’re used to.

  7. Make sure everything is reproducible. That includes data and infrastructure.

  8. If it’s not in version control, it doesn’t exist.

  9. Always abstract where it’s needed. Never abstract where it’s not needed.

  10. Think before you code.

  11. Readable code is better than elegant code if you can’t have both.

Badges
This user doesn’t have any gold badges yet.
1
silver badge
7
bronze badges
0
Score
4
Posts
67
Posts %
0
Score
4
Posts
67
Posts %
0
Score
4
Posts
67
Posts %
0
Score
2
Posts
33
Posts %
0
Score
2
Posts
33
Posts %
0
Score
1
Posts
17
Posts %
Top posts