pandas libs tslib OutOfBoundsDatetime Out of bounds nanosecond timestamp

0 votes

Hi Guys,

I am trying to import the Pandas module in my Jupyter Notebook. But it is showing me the below error.

pandas._libs.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp

How can I solve this error?

Jul 16, 2020 in Python by akhtar
• 38,230 points
6,715 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you need to upgrade or reinstall your Pandas module in your system. You can also try this below command once. It may work.

import pandas as pd
from datetime import datetime
df = pd.DataFrame([{"datetime": datetime.strptime("9999-1-1T00:00", "%Y-%m-%dT%H:%M")}])
answered Jul 16, 2020 by MD
• 95,440 points

Related Questions In Python

0 votes
0 answers

Size is (121,512,512). Error is coming as : IndexError: index 152 is out of bounds for axis 0 with size 121.

def nodule_detect(nodules,j,numpyImage, numpyOrigin, numpySpacing): ...READ MORE

Jan 28, 2020 in Python by anonymous
• 150 points
3,953 views
0 votes
0 answers

iloc giving 'IndexError: single positional indexer is out-of-bounds'

I was trying to encode some information ...READ MORE

May 23, 2022 in Python by Kichu
• 19,050 points
1,326 views
0 votes
1 answer

How can I find out the index of an element from row and column in Python?

You probably want to use np.ravel_multi_index: [code] import numpy ...READ MORE

answered Apr 16, 2018 in Python by charlie_brown
• 7,720 points
2,034 views
0 votes
1 answer

How can I reformat value_counts() analysis in Pandas for large number of columns?

If I were you, I'd do it ...READ MORE

answered Apr 17, 2018 in Python by anonymous
6,450 views
0 votes
1 answer
0 votes
1 answer

How to create Pandas series from dictionary?

Here's a sample script: import pandas as pd import ...READ MORE

answered Apr 1, 2019 in Python by Prateek
2,128 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,058 views
0 votes
1 answer

I can't get a graph out of my information

Hi@lzzy, According to your error, there is a ...READ MORE

answered Jun 11, 2020 in Python by MD
• 95,440 points
611 views
0 votes
1 answer

How to filter Pandas DataFrame by values of columns?

Hi@akhtar, You can filter Pandas Dataframe with the ...READ MORE

answered Oct 20, 2020 in Python by MD
• 95,440 points
834 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP