LoginSignup
4
3

More than 5 years have passed since last update.

python ライブラリの基本使い方

Last updated at Posted at 2017-11-14

機械学習を勉強し始めました。pythonを使ったことないので、色々調べながらメモしています。

Pandas:

1.Load Json:

blogs = pd.read_json('file_name', orient = 'colummn')
blogs

2.Filter

filter = blogs[blogs['tags'] > 0]
filter

3.Unique Column Value

blogs._columName_.value_counts()
blogs._columName_.value_counts().count()
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3