Skip to content

Followup to #21738 #21764

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 6 commits into from
Jul 6, 2018
Merged

Followup to #21738 #21764

merged 6 commits into from
Jul 6, 2018

Conversation

jbrockmendel
Copy link
Member

Addresses comments/requests from #21738.


def test_namespace():
# just check that none of these raise NameErrors
tslibs.normalize_date
Copy link
Contributor

Choose a reason for hiding this comment

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

do something like this (and match against a fixed list)

In [7]: set([name for name in dir(tslibs) if not name.startswith('_')])
Out[7]: 
{'NaT',
 'OutOfBoundsDatetime',
 'Timedelta',
 'Timestamp',
 'ccalendar',
 'conversion',
 'delta_to_nanoseconds',
 'fields',
 'frequencies',
 'iNaT',
 'ints_to_pytimedelta',
 'localize_pydatetime',
 'nattype',
 'normalize_date',
 'np_datetime',
 'offsets',
 'parsing',
 'period',
 'resolution',
 'strptime',
 'timedeltas',
 'timestamps',
 'timezones',
 'tz_convert_single'}

In [8]: from pandas._libs import tslibs

@jreback jreback added this to the 0.24.0 milestone Jul 6, 2018
@codecov
Copy link

codecov bot commented Jul 6, 2018

Codecov Report

Merging #21764 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #21764   +/-   ##
=======================================
  Coverage   91.93%   91.93%           
=======================================
  Files         160      160           
  Lines       49737    49737           
=======================================
  Hits        45724    45724           
  Misses       4013     4013
Flag Coverage Δ
#multiple 90.3% <100%> (ø) ⬆️
#single 41.99% <0%> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/indexes/datetimes.py 95.45% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ae4358...eab2ef1. Read the comment docs.

@jreback jreback merged commit 2543795 into pandas-dev:master Jul 6, 2018
@jreback
Copy link
Contributor

jreback commented Jul 6, 2018

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the tsapi-followup branch July 6, 2018 17:26
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants