Understanding the pandas IO API
It also enables loading of data from the clipboard, objects, or files.
DataFrame objects have methods that enable writing data and labels to the clipboard or files. They’re named with the pattern
<file-type> is the type of the target file. You’ve already learned about
.to_excel(), but there are others, including
If this option is available and you choose to omit it, then the methods return the objects—like strings or iterables—with the contents of the
DataFrame instances. There are a few other parameters, but they’re mostly specific to one or several methods.
Become a Member to join the conversation.