Skip to content

Instantly share code, notes, and snippets.

@AnneTheAgile
Last active December 30, 2015 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnneTheAgile/7884681 to your computer and use it in GitHub Desktop.
Save AnneTheAgile/7884681 to your computer and use it in GitHub Desktop.
# It is very easy to read a clean CSV with pandas.
In [2]: import pandas
In [3]: db = pandas.read_csv("/path/fn.csv")
In [7]: db
Out[7]:
<class 'pandas.core.frame.DataFrame'>
Int64Index: 528 entries, 0 to 527
Data columns (total 1 columns):
HDR Philosophy/Metaphysics 514 non-null values
dtypes: object(1)
In [8]:
# REFS
[1] Pandas home page @2013-12-09Mon
https://pypi.python.org/pypi/pandas
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
@AnneTheAgile
Copy link
Author

REFS
[1] Pandas home page
https://pypi.python.org/pypi/pandas
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3

@AnneTheAgile
Copy link
Author

BUG, Change language from Text to Python is not taking. The preview works perfectly. Let me recheck here a little later, vs now @2013-12-09Mon.21:14:20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment