Python pandas recipe of the day: Did you know you can read in .csv's from your clipboard into pandas?? 🤯

use_pandas's tweet image. Python pandas recipe of the day:

Did you know you can read in .csv's from your clipboard into pandas?? 🤯

Wow, this one is quite a thing!


Need to throw together a carbon screenshot but here’s the second part to the tip! You can export a data frame to your clipboard as well

Part 2 to this awesome #python pandas tip. Share a .csv quickly (like in a slack snippet) or paste a dataframe into an excel file, you can do this: df․to_clipboard(sep=',') It copies the dataframe into your system clipboard Follow for more #python #pandas tips



United States Trends
Loading...

Something went wrong.


Something went wrong.