8000 DEPR: DataFrame.get_dtype_counts by mroeschke · Pull Request #27145 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DEPR: DataFrame.get_dtype_counts #27145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Jul 3, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
< 8000 /div>
Prev Previous commit
Next Next commit
Fix doc warnings
  • Loading branch information
Matt Roeschke committed Jul 2, 2019
commit ca70a46015178f4f420ec715aed06a847b446ff6
2 changes: 1 addition & 1 deletion doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3755,7 +3755,7 @@ defaults to `nan`.
store.append('df_mixed', df_mixed, min_itemsize={'values': 50})
df_mixed1 = store.select('df_mixed')
df_mixed1
df_mixed1.get_dtype_counts()
df_mixed1.dtypes.value_counts()

# we have provided a minimum string column size
store.root.df_mixed.table
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/missing_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pandas objects provide compatibility between ``NaT`` and ``NaN``.
df2
df2.loc[['a', 'c', 'h'], ['one', 'timestamp']] = np.nan
df2
df2.get_dtype_counts()
df2.dtypes.value_counts()

.. _missing.inserting:

Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.10.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ You can now store ``datetime64`` in data columns
store.append('df_mixed', df_mixed)
df_mixed1 = store.select('df_mixed')
df_mixed1
df_mixed1.get_dtype_counts()
df_mixed1.dtypes.value_counts()

You can pass ``columns`` keyword to select to filter a list of the return
columns, this is equivalent to passing a
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.11.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Furthermore ``datetime64[ns]`` columns are created by default, when passed datet
df

# datetime64[ns] out of the box
df.get_dtype_counts()
df.dtypes.value_counts()

# use the traditional nan, which is mapped to NaT internally
df.loc[df.index[2:4], ['A', 'timestamp']] = np.nan
Expand Down
0