Skip to content
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
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Release 0.0.7
=============
* **datasets.fetch_employee_salaries**: change the origin of download for employee_salaries.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also mention that this changed the function signature: the function now return a Bunch with a dataframe under the field "data", and not the path to the csv file. Also, the field "description" has been renamed to "DESCR".

Mentioning this is important, because these changes can break user code, and they need to quickly identify them from the changelog.

- The function now return a bunch with a dataframe under the field "data",
and not the path to the csv file.
- The field "description" has been renamed to "DESCR".


Release 0.0.6
=============
Expand Down
1 change: 0 additions & 1 deletion examples/02_fit_predict_plot_employee_salaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

################################################################################
# Now, let's carry out some basic preprocessing:
df['Current Annual Salary'] = employee_salaries['target']
df['Date First Hired'] = pd.to_datetime(df['date_first_hired'])
df['Year First Hired'] = df['Date First Hired'].apply(lambda x: x.year)

Expand Down